Difference between revisions of "Apt-get/dpkg"

From Briki
Jump to: navigation, search
Line 12: Line 12:
 
*; apt-file update : update file contents lists
 
*; apt-file update : update file contents lists
 
*; apt-file search ''string'' : search package contents for file name/path containing ''string''
 
*; apt-file search ''string'' : search package contents for file name/path containing ''string''
 +
*; apt-file list ''package'' : list files in ''package''
  
 
* dpkg
 
* dpkg

Revision as of 10:01, 17 July 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 string 
    search package contents for file name/path containing string
    apt-file list package 
    list files in package
  • dpkg
    dpkg -s package 
    show status of package
    dpkg -L package 
    list files in package
    dpkg --get-selections 
    list all installed packages