0

So i just got rid of Libreoffice writer app from my system through the terminal with the purge command. To make sure i don't leave behind any files related to libre-office i also ran the autoremove command after it. Still when i run 'apt list --installed' (photo attached) i also see some files with the name 'libreoffice'. Why is that? Are those configuration files ? If so, the purge command is supposed to get rid of the configurations too, isn't it? How do i get rid of these files assuming they are just left-overs from the libreoffice-writer app i had uninstalled before.

Related info - I've never installed anything related to libreoffice on my system before.Also i never installed the whole libreoffice suit. I only installed the libreoffice-writer app from Ubuntu's software app.

'apt list --installed' result image

4
  • 1
    That's to be expected, libreoffice is a software suite with several components and you removed obviously only a single component.
    – mook765
    Oct 17, 2021 at 9:07
  • I did not install the whole suite. I only installed the libreoffice writer app from the ubuntu software center app. How do i get rid of these lingering 'components' if they serve no purpose being on my system?
    – skekmal
    Oct 17, 2021 at 9:12
  • You seem to have misunderstood the purpose of both autoremove and purge. Neither "forces" removal of a package tree. If you investigate, you will see that LibreOffice Math is required by some other element of your system -- usually the desktop metapackage. Therefore, it's not orphaned. Therefore it's not eligible for autoremoval. In turn, everything that Math depends upon is also ineligible for autoremoval.
    – user535733
    Oct 17, 2021 at 11:26
  • Unless they have changed, libreoffice suite is included when you install Ubuntu. Usually do not need to install the 'writer' app.
    – crip659
    Oct 17, 2021 at 11:36

1 Answer 1

0

To purge libreoffice completely you have to remove all its packages by

sudo apt-get purge '*libreoffice*' --autoremove
2
  • What are the astericks around 'libreoffice' is for ?
    – skekmal
    Oct 17, 2021 at 9:20
  • They will remove all ocurrencies including libreoffice word, asterisks mean any symbol. If unsure try to simulate this command first apt-get purge '*libreoffice*' --autoremove --simulate .
    – N0rbert
    Oct 17, 2021 at 9:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.