Usage of the dpkg command
Dpkg is a shorthand for the Debian package, a suite management system specifically developed for the "Debian" operating system for software installation, updating and removal.
All releases of Linux from "Debian" use dpkg, such as "Ubuntu"
Read Catalogue
- Installing the Software
- Lists the files associated with the package first
- Show the version of the package
- Remove software (Preserve configuration)
- Remove software (do not preserve configuration)
- Find details about a package
- List the contents of the Deb package
Installing the Software
Command: dpkg-i <.deb file name>
Example: Dpkg-i ~/download/mozybackup_i386.deb
Mozybackup_i386.deb is a manual download-down package, such as
Lists the files associated with the package first
Command: Dpkg-l Package
Once the package is installed, you can use this command to see where the software is installed,
Example: Dpkg-l mozybackup
Show the version of the package
Command: Dpkg-l Package
Example: Dpkg-l mozybackup
Remove software (Preserve configuration)
Command: Dpkg-r Package
Example: Dpkg-r mozybackup
Remove software (do not preserve configuration)
Command: Dpkg-p Package
Example: Dpkg-p mozybackup
Find details about a package
Command: Dpkg-s Package
Example: Dpkg-s mozybackup
List the contents of the Deb package
Command: dpkg-c package.deb listing the contents of the Deb package
Example: Dpkg-c mozybackup
Dpkg–unpack Package.deb Unpack the contents of the Deb package
Dpkg-s keyword Search the package content that belongs to
Dpkg–configure Package Configuration Packages
Ubuntu, package management, dpkg