Labels

dpkg DEB packages commandline

# dpkg -i [package.deb]
install / upgrade a deb package [man]

# dpkg -r [package]
remove a deb package from the system [man]

# dpkg -l
show all deb packages installed on the system [man]

# dpkg -l | grep httpd
show all deb packages with the name "httpd" [man]

# dpkg -s [package]
obtain information on a specific package installed on system [man]

# dpkg -L [package]
show list of files provided by a package installed on system [man]

# dpkg --contents [package.deb]
show list of files provided by a package not yet installed [man]

# dpkg -S /bin/ping
verify which package belongs to a given file [man]