How to Install and Uninstall libdnf2 Package on Debian 12 (Bookworm)

Last updated: November 27,2024

1. Install "libdnf2" package

Please follow the step by step instructions below to install libdnf2 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libdnf2

2. Uninstall "libdnf2" package

Please follow the guidance below to uninstall libdnf2 on Debian 12 (Bookworm):

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

3. Information about the libdnf2 package on Debian 12 (Bookworm)

Package: libdnf2
Source: libdnf
Version: 0.69.0-2
Installed-Size: 1847
Maintainer: Frédéric Pierret
Architecture: amd64
Replaces: libdnf1 (<< 0.35.3-1~)
Provides: libdnf
Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.0), libglib2.0-0 (>= 2.37.3), 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 (>= 11), libdnf2-common (= 0.69.0-2)
Breaks: libdnf1 (<< 0.35.3-1~)
Description: libdnf - shared library
Description-md5: 35945da87fa54f0cdf2192d8bbb82744
Multi-Arch: same
Homepage: https://github.com/rpm-software-management/libdnf
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/libd/libdnf/libdnf2_0.69.0-2_amd64.deb
Size: 556296
MD5sum: 52edaf36af033f198917212243137864
SHA256: 259600c6a9883d9316af46a4af470e1bf6a9d8dfe38e7aebd8715c3a938696db