How to Install and Uninstall dnf Package on Kali Linux

Last updated: December 23,2024

1. Install "dnf" package

Please follow the steps below to install dnf on Kali Linux

$ sudo apt update $ sudo apt install dnf

2. Uninstall "dnf" package

Please follow the instructions below to uninstall dnf on Kali Linux:

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

3. Information about the dnf package on Kali Linux

Package: dnf
Version: 4.14.0-4.1
Installed-Size: 67
Maintainer: Frédéric Pierret
Architecture: all
Depends: python3:any, dnf-data (= 4.14.0-4.1), python3-dnf (= 4.14.0-4.1), libmodulemd2 (>= 2.9.4-1~), python3-dbus, sqlite3
Breaks: dnf-plugins-core (<< 4.0.6-1~)
Size: 39160
SHA256: 456ab991223e3962d5302d95fc059e15703b1631f8e44985d116e767d0a805b6
SHA1: f9222bb2460d08829b432dbf803bcff735340c1b
MD5sum: 3398cf7c044b78b8f851a5cb02db6aa0
Description: 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:
Multi-Arch: foreign
Homepage: https://github.com/rpm-software-management/dnf
Section: admin
Priority: optional
Filename: pool/main/d/dnf/dnf_4.14.0-4.1_all.deb