Linux Debian Package Manager “dpkg”

bob218
2 min readJul 23, 2023

--

of bob218

Debian package manager is used to install, remove and update packages (Software) in Debian-based operating systems such as Kali Linux, Ubuntu, Arch Linux, etc. The apt-get package management utility is best for package management for new users. If you want to install another package in Kali Linux that does not exist in the repository, the dpkg command will be useful for you. The Debian Linux system uses deb installation files with the “.deb” extension.

Image of bob218

Install “.deb” files with dpkg: La maggior parte dei pacchetti .deb contiene tutte le dipendenze necessarie per il corretto funzionamento dell’applicazione.

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

If you want to install packages in a particular directory, you can mention it /{target_directory}.

Removing an Installed Package with dpkg: The (-r) option is used with dpkg to remove packages and (-p) to delete a package. Both switches are slightly different.

dpkg –r {package_name.deb}
dpkg -p {package_name.deb}
Image of bob218

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}
Image of bob218

PS: I hope this content was useful and thank you for reading:)

💻 Follow me
👏 Give the article 50 claps
📚
Read more articles on Medium
🔗 Connect on social media
Github | Kaggle

--

--

bob218
bob218

No responses yet