How To Install Dpkg On Debian, Ubuntu, Alpine, Kali, Fedora, Raspbian And MacOS?
Maintainer: Dpkg Developers
Email: [email protected] .
Website: https://wiki.debian.org/Teams/Dpkg
Section: admin
Install dpkg
-
Debian
apt-get install dpkgClick to copy -
Ubuntu
apt-get install dpkgClick to copy -
Alpine OS
apk add dpkgClick to copy -
Kali Linux
apt-get install dpkgClick to copy -
Fedora
dnf install dpkgClick to copy -
Raspbian
apt-get install dpkgClick to copy -
macOS
brew install dpkgClick to copy
Debian package manager.
How to use dpkg?
Below are few example commands for dpkg that you can use in the terminal.
Install a package:dpkg -i path/to/file.debClick to copyRemove a package:dpkg -r package_nameClick to copyList installed packages:dpkg -l patternClick to copyList package contents:dpkg -L package_nameClick to copyList contents of a local package file:dpkg -c path/to/file.debClick to copyFind out which package owns a file:dpkg -S file_nameClick to copy
Install the latest version of dpkg in Debian, Ubuntu, Alpine, Kali, Fedora, Raspbian and macOS from terminal. To install the dpkg just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of dpkg from the respository and install it in your computer/server.




