How to use Linux Debian package manager “dpkg”

Linux Debian Package Manager “dpkg”

Debian package manager is used to install, remove and upgrade packages (Software) in Debian-based Operating systems such as Kali Linux, Ubuntu, Arch Linux, etc. apt-get package handling utility is best for managing packages for new users. but in Kali Linux, only those Software Packages can be installed by APT utility, which is available on the repository for free. If you are wishing to install another package in Kali Linux not exist on the repository, dpkg command will be helpful for you. Linux Debian system use deb installation files with the “.deb” extension.

debian Package Manager_image02

Install “.deb” files with dpkg

After downloading .deb package, dpkg command will need to be install the package. Most .deb packages are contain all of the required dependencies for the application to function properly. Syntax:

#dpkg –I {package_name.deb} /{target_directory}

If you are wishing to install packages in a particular directory, you can mention it /{target_directory}. but this is not mandatory.

Remove installed package with dpkg

(-r) switch is used with dpkg to remove the packages and (-p) for purging a package. Both switches are little bit different. The following syntax is used:

#dpkg –r {package_name.deb}

#dpkg -p {package_name.deb}

Checking for Installed Package

To look the status of installed or removed application, use the following syntax:

#dpkg –l {package_name}

#dpkg –p {package_name}

debian Package Manager_image02

MODULE 3:- Basics of Kali Linux

  1. Install Kali Linux on Hard drive with Full disk Encryption
  2. How to create Kali Linux bootable USB live in windows 10
  3. 20 basics about how to use Kali Linux
  4. 6 steps to change Kali Linux IP address (Easy)
  5. How to Add Kali Linux repository – With pictures
  6. How to update and upgrade Kali Linux to 2017.1
  7. apt-get package handling utility in Kali Linux
  8. How to use Linux debian package manager “dpkg”
  9. How to use Kali Linux SSH Server and client
  10. Start Restart Apache2 Web Server In Kali Linux


If Appreciate My Work, You should consider:

Leave a Reply

Your email address will not be published. Required fields are marked *