Difference between revisions of "Apt-get/dpkg"

From Briki
Jump to: navigation, search
Line 2: Line 2:
 
* '''apt-get update ''' update sources
 
* '''apt-get update ''' update sources
 
* '''apt-get upgrade''' upgrade all upgradeable packages
 
* '''apt-get upgrade''' upgrade all upgradeable packages
 +
 +
* '''apt-cache search ''regexp''''' search for package
 +
 +
* '''dpkg -s ''package''''' show status of package
 
* '''dpkg -L ''package''''' list files in package
 
* '''dpkg -L ''package''''' list files in package
* '''dpkg -s ''package''''' show status of package
 
 
* '''dpkg --get-selections''' list all installed packages
 
* '''dpkg --get-selections''' list all installed packages

Revision as of 10:59, 20 June 2006

  • apt-get install package install package
  • apt-get update update sources
  • apt-get upgrade upgrade all upgradeable packages
  • apt-cache search regexp search for package
  • dpkg -s package show status of package
  • dpkg -L package list files in package
  • dpkg --get-selections list all installed packages