Uninstall Libreoffice

I am trying to uninstall all of libreoffice and start over. The menu items disappeared and it seems as if there is no fix online. I want to totally uninstall libreoffice and do a fresh install.

sudo apt purge "libreoffice*"
sudo apt autoremove
sudo apt clean
rm -rf $HOME/.config/libreoffice

followup: dpkg -l | grep libreoffice should show nothing.

5 Likes

To remove unwanted software, you use the reverse procedure to how it was installed.

As LibreOffice is available in many forms

  • deb
  • snap
  • flatpak
  • appimage
  • from source

the method to remove each differs, just as they used different command(s) to install (FYI: this list may not be complete either! as I've only listed the ones I've seen)

The apt commands @pavlos_kairis should work if it's a deb package, but won't uninstall other package types.

If you can't recall how LibreOffice was installed; whereis libreoffice may provide clues, as location of binaries does vary between package types.

You didn't provide any Ubuntu MATE release details, so I've kept this generic.

2 Likes

Thanks so much for the help. That did the trick.

3 Likes