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

Last updated: May 18,2024

1. Install "libdnf2" package

Please follow the instructions below to install libdnf2 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libdnf2

2. Uninstall "libdnf2" package

Please follow the instructions below to uninstall libdnf2 on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libdnf2 $ sudo apt autoclean && sudo apt autoremove

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

Package: libdnf2
Architecture: amd64
Version: 0.55.2-6
Multi-Arch: same
Priority: optional
Section: universe/libs
Source: libdnf
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Mihai Moldovan
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1471
Provides: libdnf
Depends: libc6 (>= 2.33), libgcc-s1 (>= 3.3.1), libglib2.0-0 (>= 2.50.3-2.1~), libgpgme11 (>= 1.1.6), libjson-c5 (>= 0.15), libmodulemd2 (>= 2.9.4), librepo0 (>= 1.10.5), librpm9 (>= 4.14.2+dfsg1), librpmio9 (>= 4.14.0+dfsg1), libsmartcols1 (>= 2.30.2), libsolv1 (>= 0.7.14-1.1~), libsolvext1 (>= 0.7.14-1.1~), libsqlite3-0 (>= 3.14.0), libssl1.1 (>= 1.1.0), libstdc++6 (>= 9), libdnf2-common (= 0.55.2-6)
Breaks: libdnf1 (<< 0.35.3-1~)
Replaces: libdnf1 (<< 0.35.3-1~)
Filename: pool/universe/libd/libdnf/libdnf2_0.55.2-6_amd64.deb
Size: 464612
MD5sum: c82da13757e81ce9b86c3c59c6a88bc1
SHA1: 795477d545ace511883786d2ac82b7897d6e92c7
SHA256: 5ca60151cd2f9251b028314740a63f0fb9f6426f3f8cf854eed94a294d34fef4
SHA512: ade7996e006440342ab8e597aefad5779e7b7fcab00859d26a2e070b55dd84f538bb606ad5f3188bd8417b075e014382ff82ee605d1e67e74115250a264477c2
Homepage: https://github.com/rpm-software-management/libdnf
Description-en: libdnf - shared library
A library providing simplified C and Python APIs to libsolv.
.
This package provides the libdnf shared library.
Description-md5: 35945da87fa54f0cdf2192d8bbb82744