How to remove/uninstall packages in Ubuntu

Last updated on | 2 replies

To remove everything related to the package, its binaries, the configuration/data files and dependencies that are installed with the package:

sudo apt-get --purge autoremove packagename

To remove the package binaries and the configuration/data files but not the dependencies that are installed with the package:

sudo apt-get purge packagename

To remove the package binaries but not the configuration/data files and dependencies:

sudo apt-get remove packagename

Let me know if this helped. Follow me on Twitter, Facebook and YouTube, or 🍊 buy me a smoothie.

p.s. I increased my AdSense revenue by 200% using AI 🤖. Read my Ezoic review to find out how.

2 replies

Leave a reply

Your email address will not be published.