How to Install and Uninstall libdnf2 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 07,2024

1. Install "libdnf2" package

Please follow the steps below to install libdnf2 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libdnf2

2. Uninstall "libdnf2" package

Please follow the instructions below to uninstall libdnf2 on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the libdnf2 package on Ubuntu 21.04 (Hirsute Hippo)

Package: libdnf2
Architecture: amd64
Version: 0.55.2-5
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: 1735
Provides: libdnf
Depends: libc6 (>= 2.27), libgcc-s1 (>= 3.0), 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.0+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-5)
Breaks: libdnf1 (<< 0.35.3-1~)
Replaces: libdnf1 (<< 0.35.3-1~)
Filename: pool/universe/libd/libdnf/libdnf2_0.55.2-5_amd64.deb
Size: 515228
MD5sum: ed20b0c85de18ace422366d472a0197e
SHA1: a09906d1cfba98f7ae64f3379e73e7f9575929ca
SHA256: a8bd4075d9b6891799f83582faac1e302ff2b232edba46dcd1f331f5c2f8c93d
SHA512: 68ff099f49ffd712b54891c4b9f8da315c0fb80c4b8d634a9cb9e163cfa313ec695309bb7fc2bfb3ca55ed948ffbcb6e69d140c5344ab88dc3fe4cec9b58b2f8
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