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

Last updated: May 14,2024

1. Install "dnf" package

This guide let you learn how to install dnf on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install dnf

2. Uninstall "dnf" package

Please follow the steps below to uninstall dnf on Ubuntu 21.10 (Impish Indri):

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

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

Package: dnf
Architecture: all
Version: 4.5.2-6
Multi-Arch: foreign
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Mihai Moldovan
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 113
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~)
Filename: pool/universe/d/dnf/dnf_4.5.2-6_all.deb
Size: 48616
MD5sum: cdd6179c5f63e996805359a3c4e2de40
SHA1: ab9908dac774d6cf1613c9e381291636f0e982d8
SHA256: f434d63fa4caf485da6156e0bf751cd446083e039c880a37eb16766914ed4356
SHA512: 9860cd4cb8d0f799de29d281df0238808c02897085b98673f140ad8cd685f2046349c44f01497428ec6fd8ba115762964a32f49b21da9cbaff20a8beab539c9e
Homepage: https://github.com/rpm-software-management/dnf
Description-en: Dandified Yum package manager
Package manager forked from Yum, using libsolv as a dependency resolver.
Dnf requires a working rpm installation and is meant to be used in chroots,
see README.Debian for more information.
.
This package provides the dnf program.
Description-md5: 35ecd037027703f5e8e5541dfb39e073