How to Install and Uninstall libdnf2 Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 18,2024

1. Install "libdnf2" package

This guide covers the steps necessary to install libdnf2 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install libdnf2

2. Uninstall "libdnf2" package

Learn how to uninstall libdnf2 on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the libdnf2 package on Ubuntu 24.04 LTS (Noble Numbat)

Package: libdnf2
Architecture: amd64
Version: 0.69.0-2.2build1
Multi-Arch: same
Priority: optional
Section: universe/libs
Source: libdnf
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Frédéric Pierret
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1537
Provides: libdnf
Depends: libc6 (>= 2.38), libgcc-s1 (>= 3.3.1), libglib2.0-0 (>= 2.38.0), libjson-c5 (>= 0.15), libmodulemd2 (>= 2.13.0), librepo0 (>= 1.14.5-1~), librpm9 (>= 4.16), librpmio9 (>= 4.14.2.1+dfsg1-1.1~), libsmartcols1 (>= 2.30.2), libsolv1 (>= 0.7.21), libsolvext1 (>= 0.7.14-1.1~), libsqlite3-0 (>= 3.14.0), libstdc++6 (>= 13.1), libdnf2-common (= 0.69.0-2.2build1)
Breaks: libdnf1 (<< 0.35.3-1~)
Replaces: libdnf1 (<< 0.35.3-1~)
Filename: pool/universe/libd/libdnf/libdnf2_0.69.0-2.2build1_amd64.deb
Size: 536270
MD5sum: 2bc0f2bf5064932eebfc263857e7a373
SHA1: 283ab312b1f5e9f06c651f51357d8884864b434f
SHA256: 10c16b065f00a3ad49b2db8fe7b8c04a70167606bd806de977c4301ce3b7ab1f
SHA512: a95480185ba41aea6e2e8b9f7cf4a45b2e68169558a78e4a0e2742879cf9f6d55c174d78f0022fd91f362eda0b73df3d9d9fce4b2504d5b9fe897479fec552a0
Homepage: https://github.com/rpm-software-management/libdnf
Description: libdnf - shared library
Description-md5: 35945da87fa54f0cdf2192d8bbb82744