Newbie question. I have two versions of LibreOffice installed, I wish to remove the old version. How do I find the precise package name ?
Welcome to the Forum!
When You with ''old Version'' mean the preinstalled APT/.deb Version the Command is:
sudo apt purge libreoffice-common
and after this:
sudo apt autoremove
to remove the Rests. But please look first in the List what will be removed before You remove it.
Thanks but I get this error message -
E: unable to locate package libreoffice-common
Hmm ... that should work. Okay, try this:
sudo apt purge libreoffice*
And it would be good to check what You have installed. You said, You have 2 Versions installed. What are these 2 Versions? .deb, Snap or Flatpak?
For Flatpak type flatpak list
to let You show a List of all installed Flatpaks. For Snap type snap list
and for the .deb Version type apt list libreoffice-common
or apt list libreoffice
As an Alternative open the Software Store, go to LibreOffice and check on the side under ''Installed'' the Dropdown Menu on which Versions are Markers.
Thank you - purge libreoffice* worked.