How to Install and Uninstall dpkg Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: March 15,2025

1. Install "dpkg" package

In this section, we are going to explain the necessary steps to install dpkg on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install dpkg

2. Uninstall "dpkg" package

This guide covers the steps necessary to uninstall dpkg on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the dpkg package on Ubuntu 21.04 (Hirsute Hippo)

Package: dpkg
Architecture: amd64
Version: 1.20.9ubuntu1
Multi-Arch: foreign
Priority: required
Essential: yes
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Dpkg Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6746
Pre-Depends: libbz2-1.0, libc6 (>= 2.33), liblzma5 (>= 5.2.2), libselinux1 (>= 3.1~), libzstd1 (>= 1.3.2), zlib1g (>= 1:1.1.4)
Depends: tar (>= 1.28-1)
Suggests: apt, debsig-verify
Breaks: libapt-pkg5.0 (<< 1.7~b), lsb-base (<< 10.2019031300)
Filename: pool/main/d/dpkg/dpkg_1.20.9ubuntu1_amd64.deb
Size: 1268448
MD5sum: b6c1ccc722a836598dfc3c8814db87cc
SHA1: e8d151a1986e6e0080d890b9f270bd36cc6b4c05
SHA256: f6cc3fe7151becee137d3733dde38804899880c0ec732225f91fb3f9c4b97538
SHA512: 6d971f9aa8d67f44621224b23abfe2d5c26c516cc9d4a24fa9248b4eed11bfd207061e030aa6c65de81a7cbd5e10f7660a0b21008054f5068aacb5677c306925
Homepage: https://wiki.debian.org/Teams/Dpkg
Description-en: Debian package management system
This package provides the low-level infrastructure for handling the
installation and removal of Debian software packages.
.
For Debian package development tools, install dpkg-dev.
Description-md5: 2f156c6a30cc39895ad3487111e8c190
Task: minimal