How to Install and Uninstall libdnf2 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 18,2024

1. Install "libdnf2" package

Please follow the instructions below to install libdnf2 on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install libdnf2

2. Uninstall "libdnf2" package

This guide covers the steps necessary to uninstall libdnf2 on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the libdnf2 package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: libdnf2
Architecture: amd64
Version: 0.55.2-6build2
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: 1463
Provides: libdnf
Depends: libc6 (>= 2.34), 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.1+dfsg1-1.1~), librpmio9 (>= 4.14.2.1+dfsg1-1.1~), libsmartcols1 (>= 2.30.2), libsolv1 (>= 0.7.14-1.1~), libsolvext1 (>= 0.7.14-1.1~), libsqlite3-0 (>= 3.14.0), libssl3 (>= 3.0.0~~alpha1), libstdc++6 (>= 11), libdnf2-common (= 0.55.2-6build2)
Breaks: libdnf1 (<< 0.35.3-1~)
Replaces: libdnf1 (<< 0.35.3-1~)
Filename: pool/universe/libd/libdnf/libdnf2_0.55.2-6build2_amd64.deb
Size: 513598
MD5sum: 98792bdb948f689f6d940155fa5ff5de
SHA1: 39fc729bf16b0b5e605a028a953cf3bdd0271c86
SHA256: 52da08a7827155de7a4f8bedb62902fdb7352fc7f35203df7808f4988f99fd5b
SHA512: e9650a42c4227b9389318cf2919583a9c6bcd5397e4ca065b315eb16d7a441984a0ad3b20a0060b516ec38af1769a2ceb27a1d54650c626c09c35a300c058758
Homepage: https://github.com/rpm-software-management/libdnf
Description: libdnf - shared library
Description-md5: 35945da87fa54f0cdf2192d8bbb82744