Package managers for UNIX cheat sheet

Aptitude

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

or

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

Emerge

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




No Comments


You can leave the first : )



Leave a Reply

Your email address will not be published. Required fields are marked *