How to Install and Uninstall dnf Package on Debian 12 (Bookworm)
Last updated: May 09,2024
Notice
You can also install and uninstall the dnf on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "dnf" package
Please follow the guidance below to install dnf on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
dnf
Copied
2. Uninstall "dnf" package
This guide covers the steps necessary to uninstall dnf on Debian 12 (Bookworm):
$
sudo apt remove
dnf
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
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
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