Difference between revisions of "Apt-get/dpkg"

From Briki
Jump to: navigation, search
Line 3: Line 3:
 
*; 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-get remove ''package'' : remove package
  
 
* apt-cache
 
* apt-cache
 
*; apt-cache search ''regexp'' : search packages names and descriptions for ''regexp''
 
*; apt-cache search ''regexp'' : search packages names and descriptions for ''regexp''
 
*; apt-cache show ''package'' : show package info
 
*; apt-cache show ''package'' : show package info
 +
 +
* apt-file
 +
*; apt-file update : update file contents lists
 +
*; apt-file search ''regexp'' : search package contents for file name containing ''regexp''
  
 
* dpkg
 
* dpkg

Revision as of 10:49, 22 June 2006

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