How to Install and Uninstall libdnf2 Package on Debian 11 (Bullseye)

Last updated: May 14,2024

1. Install "libdnf2" package

Learn how to install libdnf2 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libdnf2

2. Uninstall "libdnf2" package

This guide let you learn how to uninstall libdnf2 on Debian 11 (Bullseye):

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

3. Information about the libdnf2 package on Debian 11 (Bullseye)

Package: libdnf2
Source: libdnf
Version: 0.55.2-6
Installed-Size: 1759
Maintainer: Mihai Moldovan
Architecture: amd64
Replaces: libdnf1 (<< 0.35.3-1~)
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.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~)
Description: libdnf - shared library
Description-md5: 35945da87fa54f0cdf2192d8bbb82744
Multi-Arch: same
Homepage: https://github.com/rpm-software-management/libdnf
Section: libs
Priority: optional
Filename: pool/main/libd/libdnf/libdnf2_0.55.2-6_amd64.deb
Size: 520048
MD5sum: eb66082c0af03567a76574d8ed480962
SHA256: a40c5fee1c086b711c87f79587859125cedd2750b52af92abcbcf602fce03f83