6.20 Wajig Removing Packages

Once a package is installed you can remove it with remove:

  $ wajig remove <package name>         (apt-get remove)

You can list multiple packages to remove with the one command.

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)


Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0