Categories
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!

References

How can you completely remove a package? (n.d.). Retrieved February 11, 2020, from https://askubuntu.com/questions/151941/how-can-you-completely-remove-a-package