How do I uninstall LibreOffice ...?

Before I switched to Zorin from Windows, I had SoftMaker Office 2024. I have access to the paid version for Linux, too. I have the .deb file ready to go. My question is, how do I uninstall the version of LibreOffice that came installed on Zorin OS Pro 17, and do it cleanly with all traces gone? Thanks to whoever replies.

Have you tried

sudo apt remove --purge libre-office

?

sudo apt purge libreoffice* libobasis*

deborphan --guess-all

... look through the list that deborphan shows... those are all the packages that aren't referenced by any other package as a dependency or reverse-dependency. Don't just blindly remove everything listed (you might have some program you want that isn't a dependency or reverse-dependency of anything else), but if you see things like python3-uno or uno-libs3 in there, they're no longer needed and can be removed.

libobasis7.6-base/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-calc/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-core/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-draw/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-en-us/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-extension-beanshell-script-provider/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-extension-javascript-script-provider/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-extension-mediawiki-publisher/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-extension-nlpsolver/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-extension-pdf-import/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-extension-report-builder/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-firebird/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-gnome-integration/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-graphicfilter/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-images/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-impress/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-kde-integration/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-librelogo/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-libreofficekit-data/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-math/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-ogltrans/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-onlineupdate/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-ooofonts/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-ooolinguistic/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-postgresql-sdbc/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-python-script-provider/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-pyuno/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-writer/now 7.6.4.1-1 amd64 [installed,local]
libobasis7.6-xsltfilter/now 7.6.4.1-1 amd64 [installed,local]
libreoffice7.6-base/now 7.6.4.1-1 amd64 [installed,local]
libreoffice7.6-calc/now 7.6.4.1-1 amd64 [installed,local]
libreoffice7.6-debian-menus/now 7.6.4-1 all [installed,local]
libreoffice7.6-dict-en/now 7.6.4.1-1 amd64 [installed,local]
libreoffice7.6-dict-es/now 7.6.4.1-1 amd64 [installed,local]
libreoffice7.6-dict-fr/now 7.6.4.1-1 amd64 [installed,local]
libreoffice7.6-draw/now 7.6.4.1-1 amd64 [installed,local]
libreoffice7.6-en-us/now 7.6.4.1-1 amd64 [installed,local]
libreoffice7.6-impress/now 7.6.4.1-1 amd64 [installed,local]
libreoffice7.6-math/now 7.6.4.1-1 amd64 [installed,local]
libreoffice7.6-ure/now 7.6.4.1-1 amd64 [installed,local]
libreoffice7.6-writer/now 7.6.4.1-1 amd64 [installed,local]
libreoffice7.6/now 7.6.4.1-1 amd64 [installed,local]

An interesting thing you can do:
sudo apt purge -s libreoffice* libobasis*
... search through that long output, and you'll see the uninstaller skipping things which aren't installed... which gives you everything you could install for LibreOffice (grammar checkers for languages other than english; Plasma integration; report builder; PDF importer; etc.).

Open the Terminal and type:

sudo apt purge libreoffice-common

When it's done type:

sudo apt autoremove

2 Likes

Thank you to everyone!

1 Like

If you have found a solution, can you please mark the solution here?

1 Like

@Ponce-De-Leon - his solution worked. Recommended. Thanks again to all.

(Forgive me; I didn't have a chance to sit down and work on this until a while ago.)

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.