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

Last updated: November 07,2024

1. Install "python3-dnf" package

This is a short guide on how to install python3-dnf on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-dnf

2. Uninstall "python3-dnf" package

Please follow the steps below to uninstall python3-dnf on Debian 12 (Bookworm):

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

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

Package: python3-dnf
Source: dnf
Version: 4.14.0-3+deb12u1
Installed-Size: 987
Maintainer: Frédéric Pierret
Architecture: all
Depends: python3:any, dnf-data (= 4.14.0-3+deb12u1), python3-gpg, python3-hawkey (>= 0.48.0-1~), python3-libdnf (>= 0.48.0-1~), python3-libcomps (>= 0.1.15-1~), python3-rpm (>= 4.14.0-1~), python3-distutils | libpython3-stdlib (<< 3.7~)
Recommends: deltarpm, python3-unbound
Suggests: python3-dnf-doc
Description: Python interface to DNF (Python 3)
Description-md5: c5dc3bbcfd293592f67d5f8bdc092f5a
Multi-Arch: foreign
Homepage: https://github.com/rpm-software-management/dnf
Section: python
Priority: optional
Filename: pool/main/d/dnf/python3-dnf_4.14.0-3+deb12u1_all.deb
Size: 160568
MD5sum: 820dcc9acf78cf3e9033e52146f75bf7
SHA256: 35d3729be2e6845e6fe8f5babc51e75b4900e8dedf81fef4e35eaf3ea546d06c