The Debian package manager command,
dpkg, consists of an
action that specifies a major mode of
operation as well as zero or more
options, which modify the action’s
The dpkg command maintains package information in /var/lib/dpkg. There are two files that are of particular interest:
The list of all available packages.
Contains package attributes, such as whether it is installed or marked for removal.
These files are modified by dpkg, dselect, and apt-get, and it is unlikely that they will ever need to be edited.
Do not overwrite a previously installed package of the same version.
Do not overwrite a previously installed package with an older version of that same package.
Recursively process package files in specified subdirectories. Works with -i, --install, --unpack, and so on.
Configure an unpacked package. This involves setup of configuration files.
Install the package contained in
package_file. This involves
backing up old files, unpacking and installation of new
files, and configuration.
Display information for installed package names that
List files installed from
Display details found in
Remove everything for