How to Install and Uninstall python3-dnf Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 04,2024

1. Install "python3-dnf" package

This tutorial shows how to install python3-dnf on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-dnf

2. Uninstall "python3-dnf" package

This guide covers the steps necessary to uninstall python3-dnf on Ubuntu 21.10 (Impish Indri):

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

3. Information about the python3-dnf package on Ubuntu 21.10 (Impish Indri)

Package: python3-dnf
Architecture: all
Version: 4.5.2-6
Multi-Arch: foreign
Priority: optional
Section: universe/python
Source: dnf
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Mihai Moldovan
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1025
Depends: python3:any, dnf-data (= 4.5.2-6), 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
Filename: pool/universe/d/dnf/python3-dnf_4.5.2-6_all.deb
Size: 167808
MD5sum: 41db189778d4b72194d88c9d7b77454c
SHA1: 1c3c7abab2900438ba2e589fe6702b18410ca540
SHA256: 59145ac14cf3ffd278dcf023c9674cace1a2122442fc7a8d85da338435a446ce
SHA512: 89afb119429731017b8ebbff41e84f7c1ca3e0118e766d80f307d3ba258272690cbcc16218e123f62b148374b91a10e54e9d7ac6d68854ef1365aabeeb65b6ba
Homepage: https://github.com/rpm-software-management/dnf
Description-en: Python interface to DNF (Python 3)
Package manager forked from Yum, using libsolv as a dependency resolver.
.
This package installs the DNF interface for Python 3.
Description-md5: c5dc3bbcfd293592f67d5f8bdc092f5a