Linux Tutorial Series

Linux Tutorial Series – 133 – Removing a package

Here is the video version, if you prefer it:

Here is how you can remove packages from your computer: (“How can you completely remove a package?,” n.d.)⁠

sudo apt --purge remove packageName

Then after that, to remove the dependencies that were just used by that package and aren’t used by any other package anymore:

sudo apt --purge autoremove

There may be some configuration files left over, either in the .config directory in your home folder or as a standalone hidden file (which means its filename starts with a .). You have to delete those manually.

Hope you learned something useful!


How can you completely remove a package? (n.d.). Retrieved February 11, 2020, from

NewsletterUpdates on interesting things I am doing

Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.

Leave a Reply

Your email address will not be published. Required fields are marked *