How To Install libzypp on Fedora 34

libzypp is A package management library A package management library

Introduction

In this tutorial we learn how to install libzypp on Fedora 34.

What is libzypp

libzypp is a library for package management built on top of the libsolv library. It is the foundation for the Zypper package manager. libzypp 17.25.6 1.fc34 x86_64 1.4 M libzypp-17.25.6-1.fc34.src.rpm fedora A package management library https GPLv2+ libzypp is a library for package management built on top of the libsolv library. It is the foundation for the Zypper package manager.

We can use yum or dnf to install libzypp on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libzypp.

Install libzypp on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libzypp using dnf by running the following command:

sudo dnf -y install libzypp

Install libzypp on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libzypp using yum by running the following command:

sudo yum -y install libzypp

How To Uninstall libzypp on Fedora 34

To uninstall only the libzypp package we can use the following command:

sudo dnf remove libzypp

libzypp Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/fb4afdc947e78440c09d197a44d3c47428320c
/usr/lib/libzypp.so.1722
/usr/lib/libzypp.so.1722.3.6
/usr/share/licenses/libzypp
/usr/share/licenses/libzypp/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/ab03a3bfd7e2e2cdf4055f3b4f5d417fc49e2e
/usr/lib64/libzypp.so.1722
/usr/lib64/libzypp.so.1722.3.6
/usr/share/licenses/libzypp
/usr/share/licenses/libzypp/COPYING

References

Summary

In this tutorial we learn how to install libzypp on Fedora 34 using yum and dnf.