Is there any difference between
sudo apt-get purge <package-name>
and
sudo apt-get remove <package-name>
?
I often see people recommend one or the other.
In other words, what does apt-get purge remove that apt-get remove doesn't?
|
|
|
As the remove - Packages installed are removed (Does NOT include configuration files) purge - Purge is identical to remove except that packages are removed and purged. Purge meaning that any configuration files are deleted too. This of course, does not apply to packages that hold configuration files inside the user's home folder (eg: So for example, if you were to remove Chrome, Firefox, XBMC or any other that holds some configuration files inside your On the other hand if you were to install apache, squid, mysql or any other services similar that save their files in |
|||||
|
|
An excerpt from my answer on another question:
|
||||
|
|
|
|
||||
|
|