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 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 search ''regexp''''' search for package
+
; '''apt-cache search ''regexp''''' : search for package
  
* '''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 12:01, 20 June 2006

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