Dpkg is short for Debian package. It is a suite management system specially developed by the "Debian" Operating System for software installation, update, and removal.
Dpkg is used for all releases of Linux from "Debian", such as "ubuntu"
Reading directory
- Install software
- List Files first associated with the package
- Show package version
- Remove software (retain configuration)
- Remove software (configuration not retained)
- Find detailed information about a package
- List Deb Package content
Install software
Command: dpkg-I <. Deb File Name>
Instance: dpkg-I ~ /Download/mozybackup_i386.deb
Mozybackup_i386.deb is a manually downloaded package, as shown in figure
List Files first associated with the package
Command: dpkg-l package
After installing the package, you can use this command to check where the software is installed,
Instance: dpkg-l mozybackup
Show package version
Command: dpkg-l package
Instance: dpkg-l mozybackup
Remove software (retain configuration)
Command: dpkg-r package
Instance: dpkg-r mozybackup
Remove software (configuration not retained)
Command: dpkg-P package
Instance: dpkg-P mozybackup
Find detailed information about a package
Command: dpkg-s package
Instance: dpkg-s mozybackup
List Deb Package content
Command: dpkg-C package. Deb to list the Deb Package content
Instance: dpkg-C mozybackup
Dpkg-Unpack package. Deb unbind Deb Package content
Dpkg-s keyword search Package content
Dpkg-configure package configuration package
Dpkg command usage