Difference between revisions of "Apt-get/dpkg"

From Briki
Jump to: navigation, search
Line 5: Line 5:
  
 
* apt-cache
 
* apt-cache
*; apt-cache search ''regexp'' : search for package
+
*; apt-cache search ''regexp'' : search packages names and descriptions for ''regexp''
 +
*; apt-cache show ''package'' : show package info
  
 
* dpkg
 
* dpkg

Revision as of 13:49, 20 June 2006

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