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

Last updated: May 09,2024

1. Install "dnf" package

Please follow the guidance below to install dnf on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install dnf

2. Uninstall "dnf" package

This guide covers the steps necessary to uninstall dnf on Debian 12 (Bookworm):

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

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

Package: dnf
Version: 4.14.0-3+deb12u1
Installed-Size: 67
Maintainer: Frédéric Pierret
Architecture: all
Depends: python3:any, dnf-data (= 4.14.0-3+deb12u1), python3-dnf (= 4.14.0-3+deb12u1), 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.14.0-3+deb12u1_all.deb
Size: 39088
MD5sum: c5de626b9ace65a23b46fa08753a0249
SHA256: 254dc257c75a9792f29af27969e2556bf9f52163068971eee1a500631fe5c9f2