apt remove program
apt-get remove packagename
will remove the binaries, but not the configuration or data files of the packagepackagename
. It will also leave dependencies installed with it on installation time untouched.apt-get purge packagename
orapt-get remove --purge packagename
will remove about everything regarding the packagepackagename
, but not the dependencies installed with it on installation. Both commands are equivalent.Particularly useful when you want to 'start all over' with an application because you messed up the configuration. However, it does not remove configuration or data files residing in users home directories, usually in hidden folders there. There is no easy way to get those removed as well.apt-get autoremove
removes orphaned packages, i.e. installed packages that used to be installed as an dependency, but aren't any longer. Use this after removing a package which had installed dependencies you're no longer interested in.aptitude remove packagename
oraptitude purge packagename
(likewise)will also attempt to remove other packages which were required bypackagename
on but are not required by any remaining packages. Note thataptitude
only remembers dependency information for packages that it has installed.
Comments
Post a Comment