How to Install and Uninstall dnf Package on Debian 11 (Bullseye)

Last updated: February 24,2025

1. Install "dnf" package

Please follow the steps below to install dnf on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install dnf

2. Uninstall "dnf" package

This guide covers the steps necessary to uninstall dnf on Debian 11 (Bullseye):

$ sudo apt remove dnf $ sudo apt autoclean && sudo apt autoremove

3. Information about the dnf package on Debian 11 (Bullseye)

Package: dnf
Version: 4.5.2-6
Installed-Size: 113
Maintainer: Mihai Moldovan
Architecture: all
Depends: python3:any, dnf-data (= 4.5.2-6), python3-dnf (= 4.5.2-6), libmodulemd2 (>= 2.9.4-1~), python3-dbus, sqlite3
Breaks: dnf-plugins-core (<< 4.0.6-1~)
Description: Dandified Yum package manager
Description-md5: 35ecd037027703f5e8e5541dfb39e073
Multi-Arch: foreign
Homepage: https://github.com/rpm-software-management/dnf
Section: admin
Priority: optional
Filename: pool/main/d/dnf/dnf_4.5.2-6_all.deb
Size: 49400
MD5sum: 507f52344a949f9c76364032196d86cb
SHA256: 07163cd2a0c49541bc7ccdaa0d32b04598b0108ae5ca8fbd4d40864691ff64f1