dpkg

dpkg - package manager for Debian


Install a package:

dpkg -i package_name.deb

List all packages installed:

dpkg -l

List specific package installed:

dpkg -l package_name

Remove a Package:

dpkg -r package_name

View the content of a package:

dpkg -c package_name.deb

Show status of a package:

dpkg -s package_name

List files installed on system from package-name:

dpkg -L package_name

Install all packages from a directory:

dpkg -R --install packages_dir/

Unpack the Package but don't configure or install it:

dpkg --unpack package_name.deb

Reconfigure a unpacked package:

dpkg --configure package_name

Display help:

dpkg --help