I have 2 LibreOfffices as follows:
- By default from clean installation of Fedora 33 Workstation + LibreOffice Base from ‘Software’.
- From LibreOffice RPM package.
I need to uninstall LibreOffice installed with RPM package.
Can you please teach me ?
I have 2 LibreOfffices as follows:
I need to uninstall LibreOffice installed with RPM package.
Can you please teach me ?
You can find what packages you have installed using rpm -qa
. For example, these are the libreoffice packages that Fedora includes:
$ rpm -qa \*libreoffice\*
libreoffice-data-7.0.3.1-1.fc33.noarch
libreoffice-ure-common-7.0.3.1-1.fc33.noarch
libreoffice-opensymbol-fonts-7.0.3.1-1.fc33.noarch
libreoffice-help-en-7.0.3.1-1.fc33.x86_64
libreoffice-gtk3-7.0.3.1-1.fc33.x86_64
libreoffice-ure-7.0.3.1-1.fc33.x86_64
libreoffice-x11-7.0.3.1-1.fc33.x86_64
libreoffice-core-7.0.3.1-1.fc33.x86_64
libreoffice-langpack-en-7.0.3.1-1.fc33.x86_64
libreoffice-pyuno-7.0.3.1-1.fc33.x86_64
libreoffice-pdfimport-7.0.3.1-1.fc33.x86_64
libreoffice-graphicfilter-7.0.3.1-1.fc33.x86_64
libreoffice-writer-7.0.3.1-1.fc33.x86_64
libreoffice-calc-7.0.3.1-1.fc33.x86_64
libreoffice-ogltrans-7.0.3.1-1.fc33.x86_64
libreoffice-impress-7.0.3.1-1.fc33.x86_64
libreoffice-xsltfilter-7.0.3.1-1.fc33.x86_64
libreoffice-filters-7.0.3.1-1.fc33.x86_64
libreoffice-emailmerge-7.0.3.1-1.fc33.x86_64
libreoffice-draw-7.0.3.1-1.fc33.x86_64
libreoffice-math-7.0.3.1-1.fc33.x86_64
To find the one you installed from the LibreOffice website (probably called LibreOffice.*rpm), check your installed packages:
rpm -qa | grep -i libreoffice
Then find the one that’s not from Fedora, and remove it using dnf:
sudo dnf remove <package name>
[> fedora002@localhost ~]$ rpm -qa | grep -i libreoffice
libreoffice-data-7.0.3.1-1.fc33.noarch
libreoffice-ure-common-7.0.3.1-1.fc33.noarch
libreoffice-opensymbol-fonts-7.0.3.1-1.fc33.noarch
libreoffice-gtk3-7.0.3.1-1.fc33.x86_64
libreoffice-help-en-7.0.3.1-1.fc33.x86_64
libreoffice-langpack-en-7.0.3.1-1.fc33.x86_64
libreoffice-core-7.0.3.1-1.fc33.x86_64
libreoffice-ure-7.0.3.1-1.fc33.x86_64
libreoffice-x11-7.0.3.1-1.fc33.x86_64
libreoffice-pyuno-7.0.3.1-1.fc33.x86_64
libreoffice-pdfimport-7.0.3.1-1.fc33.x86_64
libreoffice-writer-7.0.3.1-1.fc33.x86_64
libreoffice-graphicfilter-7.0.3.1-1.fc33.x86_64
libreoffice-calc-7.0.3.1-1.fc33.x86_64
libreoffice-ogltrans-7.0.3.1-1.fc33.x86_64
libreoffice-impress-7.0.3.1-1.fc33.x86_64
libreoffice-xsltfilter-7.0.3.1-1.fc33.x86_64
libreoffice-filters-7.0.3.1-1.fc33.x86_64
libreoffice-emailmerge-7.0.3.1-1.fc33.x86_64
libreoffice-base-7.0.3.1-1.fc33.x86_64
libreoffice-draw-7.0.3.1-1.fc33.x86_64
libreoffice-math-7.0.3.1-1.fc33.x86_64
libreoffice-7.0.3.1-1.fc33.x86_64
libreoffice7.0-ure-7.0.3.1-1.x86_64
libreoffice7.0-7.0.3.1-1.x86_64
libreoffice7.0-math-7.0.3.1-1.x86_64
libreoffice7.0-base-7.0.3.1-1.x86_64
libreoffice7.0-calc-7.0.3.1-1.x86_64
libreoffice7.0-dict-en-7.0.3.1-1.x86_64
libreoffice7.0-dict-es-7.0.3.1-1.x86_64
libreoffice7.0-dict-fr-7.0.3.1-1.x86_64
libreoffice7.0-draw-7.0.3.1-1.x86_64
libreoffice7.0-en-US-7.0.3.1-1.x86_64
libreoffice7.0-impress-7.0.3.1-1.x86_64
libreoffice7.0-writer-7.0.3.1-1.x86_64
libobasis7.0-libreofficekit-data-7.0.3.1-1.x86_64
libreoffice7.0-freedesktop-menus-7.0.3-1.noarch
[fedora002@localhost ~]$
I have to remove as follows:
libreoffice7.0-ure-7.0.3.1-1.x86_64
libreoffice7.0-7.0.3.1-1.x86_64
libreoffice7.0-math-7.0.3.1-1.x86_64
libreoffice7.0-base-7.0.3.1-1.x86_64
libreoffice7.0-calc-7.0.3.1-1.x86_64
libreoffice7.0-dict-en-7.0.3.1-1.x86_64
libreoffice7.0-dict-es-7.0.3.1-1.x86_64
libreoffice7.0-dict-fr-7.0.3.1-1.x86_64
libreoffice7.0-draw-7.0.3.1-1.x86_64
libreoffice7.0-en-US-7.0.3.1-1.x86_64
libreoffice7.0-impress-7.0.3.1-1.x86_64
libreoffice7.0-writer-7.0.3.1-1.x86_64
But I’m not sure that if I have to remove these 2 following packages ?
libobasis7.0-libreofficekit-data-7.0.3.1-1.x86_64
libreoffice7.0-freedesktop-menus-7.0.3-1.noarch
They do not appear to be from the fedora repos, so yes.
Also look at the output of:
sudo dnf list extras
[root@localhost fedora002]# sudo dnf list extras
Last metadata expiration check: 2:25:05 ago on Thu 26 Nov 2020 10:18:30 AM +07.
Extra Packages
libobasis7.0-ooofonts.x86_64 7.0.3.1-1 @@commandline
[root@localhost fedora002]#
This should be the last one to be removed.
And then I will be heading for this.
I will never install 2 LibreOffices like this agin.
Thank you so much for your support.