Difference between revisions of "Apt-get/dpkg"

From Briki
Jump to: navigation, search
Line 1: Line 1:
 
* apt-get
 
* apt-get
*; '''apt-get install ''package''''' : install package  
+
*; apt-get install ''package'' : install package  
*; '''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
 
* apt-cache
*; '''apt-cache search ''regexp''''' : search for package
+
*; apt-cache search ''regexp'' : search for package
  
 
* dpkg
 
* dpkg
*; '''dpkg -s ''package''''' : show status of package
+
*; dpkg -s ''package'' : show status of package
*; '''dpkg -L ''package''''' : list files in package
+
*; dpkg -L ''package'' : list files in package
*; '''dpkg --get-selections''' : list all installed packages
+
*; dpkg --get-selections : list all installed packages

Revision as of 11:03, 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 for package
  • dpkg
    dpkg -s package 
    show status of package
    dpkg -L package 
    list files in package
    dpkg --get-selections 
    list all installed packages