How to Install and Uninstall dpkg Package on Debian 12 (Bookworm)

Last updated: November 22,2024

1. Install "dpkg" package

Please follow the instructions below to install dpkg on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install dpkg

2. Uninstall "dpkg" package

Please follow the step by step instructions below to uninstall dpkg on Debian 12 (Bookworm):

$ sudo apt remove dpkg $ sudo apt autoclean && sudo apt autoremove

3. Information about the dpkg package on Debian 12 (Bookworm)

Package: dpkg
Version: 1.21.22
Essential: yes
Installed-Size: 6409
Maintainer: Dpkg Developers
Architecture: amd64
Depends: tar (>= 1.28-1)
Pre-Depends: libbz2-1.0, libc6 (>= 2.34), liblzma5 (>= 5.4.0), libmd0 (>= 0.0.0), libselinux1 (>= 3.1~), libzstd1 (>= 1.5.2), zlib1g (>= 1:1.1.4)
Suggests: apt, debsig-verify
Breaks: libapt-pkg5.0 (<< 1.7~b), lsb-base (<< 10.2019031300)
Description: Debian package management system
Description-md5: 2f156c6a30cc39895ad3487111e8c190
Multi-Arch: foreign
Homepage: https://wiki.debian.org/Teams/Dpkg
Tag: admin::package-management, devel::lang:perl, devel::library,
implemented-in::c, implemented-in::perl, interface::commandline,
role::devel-lib, role::program, scope::utility, suite::debian,
use::configuring, works-with::software:package
Section: admin
Priority: required
Filename: pool/main/d/dpkg/dpkg_1.21.22_amd64.deb
Size: 1567356
MD5sum: 295ad587aaeddf6d491e2cffc8e4192b
SHA256: 9d97f27d8a8a06dd4800e8e0291337ca02e11cdfd7df09a4566a982a6d9fe4c4