GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
Removing Packages |
Once a package is installed you can remove it with remove:
$ wajig remove <package name> (apt-get remove) |
A remove will not remove configuration files (in case you have done some configuration of the package and later re-install the package). To get rid of the configuation files as well use purge:
$ wajig purge <package name> (apt-get --purge remove) |
Packages are often installed indirectly because they are a dependency for another package. If that other package gets removed, these dependent packages remain. The auto-remove command will remove those packages that were not directly installed, and are no longer required:
$ wajig autoremove (apt-get autoremove) |