How can I fully uninstall LibreOffice from Ubuntu 24.04?

June 3, 2025 5 answers
Asked by local+variable
I'm looking for a way to completely uninstall LibreOffice, which comes pre-installed with Ubuntu 24.04. I have tried removing it through the package manager, but I keep finding leftover libraries that don't seem to go away. What's the best method to ensure everything is removed? Appreciate any help!

Answers

tide table lookup
After you remove LibreOffice, if you want to clean everything up, you should also use `sudo apt clean` to clear your package cache.
Reply to this answer
seismic__trace
Some folks say there's really no harm in leaving the old version of LibreOffice installed since it doesn't take up much space. But if the clutter bothers you and you're installing a new version, definitely go for the uninstall route!
Reply to this answer
turn_4b
You can completely remove LibreOffice along with any unused dependencies using the `sudo apt purge libreoffice*` command. The asterisk ensures that all related packages are removed. After that, run `sudo apt autoremove` to clean up any leftover libraries that are no longer needed.
Reply to this answer
~!umbrella stand
If you want a more graphical approach, try using Synaptic Package Manager. Just install it with `sudo apt install synaptic`, and youโ€™ll find it much easier to manage packages. You just search for LibreOffice, mark it for complete removal, and it will take care of dependencies too.
Reply to this answer
rural mailbox
If youโ€™re seeing leftover config files after using `purge`, remember that they might be hiding in your home directory. To get rid of those as well, check the `~/.config` folder for any LibreOffice files and delete them manually.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions