How To Install libsolv on Fedora 36

In this tutorial we learn how to install libsolv in Fedora 36. libsolv is Package dependency solver

Introduction

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

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.

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

Install libsolv on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libsolv

Install libsolv on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove libsolv

libsolv Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/a6ba270669a833aee4973e2a8c197fd7a33652
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/d504a1a0c2061271711f9b9b7284ff44db4f0b
/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
/usr/lib/.build-id
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/1fd71ef93f98fecfa51e0480287e48f2502fd2
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/6866dd3cfed4b4a4f24df09044b119c2bc9dc0
/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 36 using yum and [dnf]((/fedora/36/dnf/).