How To Install libsolv on Fedora 34

libsolv is Package dependency solver Package dependency solver

Introduction

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

What is libsolv

A free package dependency solver using a satisfiability algorithm. The library is based on two major, but independent, blocks - Using a dictionary approach to store and retrieve package and dependency information. - Using satisfiability, a well known and researched topic, for resolving package dependencies. libsolv 0.7.17 3.fc34 i686 413 k libsolv-0.7.17-3.fc34.src.rpm fedora Package dependency solver https BSD A free package dependency solver using a satisfiability algorithm. The library is based on two major, but independent, blocks - Using a dictionary approach to store and retrieve package and dependency information. - Using satisfiability, a well known and researched topic, for resolving package dependencies.

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

Install libsolv 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 libsolv using dnf by running the following command:

sudo dnf -y install libsolv

Install libsolv 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 libsolv using yum by running the following command:

sudo yum -y install libsolv

How To Uninstall libsolv on Fedora 34

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

sudo dnf remove libsolv

libsolv Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/a500bb9a0fa22166410acc859b64c162b0a4d3
/usr/lib/.build-id/64
/usr/lib/.build-id/64/2aa20a9d680547e98daeb0e1a510f5d58d67b7
/usr/lib/libsolv.so.1
/usr/lib/libsolvext.so.1
/usr/share/doc/libsolv
/usr/share/doc/libsolv/README
/usr/share/licenses/libsolv
/usr/share/licenses/libsolv/LICENSE.BSD
/usr/lib/.build-id
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/480c2391024d933df10f3c782648854fbbd653
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/c52175ccb0f9537dc5c9e1aa912e082e55a404
/usr/lib64/libsolv.so.1
/usr/lib64/libsolvext.so.1
/usr/share/doc/libsolv
/usr/share/doc/libsolv/README
/usr/share/licenses/libsolv
/usr/share/licenses/libsolv/LICENSE.BSD

References

Summary

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