how to uninstall all LibreOffice(read-only and slowness bugs unresolved)

Can someone please direct me to effective complete removal of all LibreOffice from a Ubuntu machine?

I have to abandon LibreOffice because of extreme slowness and because documents are changed to read-only in a way that I can’t correct.

I have searched on line extensively and have attempted every fix I found. All of them failed.


How was it installed? If it was through the default Ubuntu installation, then your answers are already here.


Removing the software

  • dpkg --list | awk '/ii/&&/libreoffice/||/libobasis/{print $2}' | sudo xargs apt --yes purge
  • sudo apt --yes autoremove
  • sudo rm -r /usr/lib/libreoffice (if there are any remainders, which normally should not happen)

Removing your user profile

rm -r $HOME/.config/libreoffice

Hope that helps