Debian package management

From Rega's Quick Reference

Jump to: navigation, search
dpkg

  -l <pattern>:  list packages
  -L <package>:  list files in package
  -s <package>:  report package status
  -p <package>:  show details on package
  -S <filename>: search for filename in installed packages

  -i <package>: install
  -r <package>: remove
  --purge <package>: purge
  --get-selections: [pattern]: send list of package selections to stdout
  --set-selections: set package selections from stdin


dpkg-reconfigure 

  --priority=[low|medium|high|critical] <package>


apt-get
  update
  upgrade
  dist-upgrade
  install
  remove
  clean

  -q, --quiet
  -s, --simulate
  -y, --yes
  --purge


apt-cache
  show
  search
  depends
  rdepends

  --installed


apt pinning
Personal tools