2010-05-28

A Short Summary of Debian Package Management

# apt-get update (update local database using newest sources.list)
# apt-cache search string (search all packages contain the string)
# apt-get install package (install package)
# apt-get remove package (remove package)
# apt-get --purge remove package (remove package and config files)
# apt-cache show abcde (show info of package, e.g. dependency..)
# apt-get dist-upgrade (upgrade the installed package to latest version)

Reference

No comments:

Post a Comment