[article] apt remove vs apt purge: What’s the Difference?

1 message · started by Devi Garcia on Nov 23, 2022

[article] apt remove vs apt purge: What’s the Difference?

From Devi Garcia · Nov 23, 2022

To uninstall an application in the Ubuntu terminal, you can use:

sudo apt remove package_name

But in various forums, you may come across the suggestion to use the apt purge command for removing applications completely.

This leaves you confused because using apt purge is quite similar to apt remove:

sudo apt purge package_name

So, why are there two similar commands for removing packages? What’s the difference between the two? Let me explain it to you with a few examples.





apt-remove-vs-apt-purge.png

View original on FreeLists


Previous thread · Next thread

Back to November 2022