How to use Linux debian package manager “dpkg”

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

Linux Debian Package Manager “dpkg”

Debian package manager is used to install, remove and upgrade packages (Software) in debian based Operating System 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 are available on the repository for free. If you are wishing to install another packages in Kali Linux not exist on repository, dpkg command will be helpful for you. Linux debian system  use deb installation files with “.deb” extension.

debian Package Manager_image01

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 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

ONLINE COURSES - SELF STUDY

Ethical Hacking Bootcamp

Python Tutorial - Build 7 Apps

Ethical Hacking A to Z Bundle

Ethical Hacking: Beginner to Adv.

RECOMMENDED ETHICAL HACKING BOOKS

Vijay Kumar

Ethical Hacking & Penetration Testing Trainer, For more detail view My Profile

Leave a Reply

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