Hey there!

Package managers for UNIX cheat sheet


Update the manifests

apt-get update

Update the packages

apt-get upgrade

or sometimes this is also needed to resolve very complex dependency issues

apt-get dist-upgrade

Install new package

apt-get install foo

Remove a package

apt-get remove foo


apt-get purge foo # this will remove the configuration files (some)


Update the manifest

Update the packages

Rebuild all packages

Install new package

Remove package

Install binary package

You need to have some binary package server