Difference between revisions of "Apt-get/dpkg"

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

Revision as of 12: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