How To Install libsolv-devel on Rocky Linux 8

In this tutorial we learn how to install libsolv-devel on Rocky Linux 8. libsolv-devel is Development files for libsolv

Introduction

In this tutorial we learn how to install libsolv-devel on Rocky Linux 8.

What is libsolv-devel

Development files for libsolv.

We can use yum or dnf to install libsolv-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libsolv-devel.

Install libsolv-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libsolv-devel

Install libsolv-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libsolv-devel

How To Uninstall libsolv-devel on Rocky Linux 8

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

sudo dnf remove libsolv-devel

libsolv-devel Package Contents on Rocky Linux 8

/usr/include/solv
/usr/include/solv/bitmap.h
/usr/include/solv/chksum.h
/usr/include/solv/dataiterator.h
/usr/include/solv/dirpool.h
/usr/include/solv/evr.h
/usr/include/solv/hash.h
/usr/include/solv/knownid.h
/usr/include/solv/policy.h
/usr/include/solv/pool.h
/usr/include/solv/pool_fileconflicts.h
/usr/include/solv/pool_parserpmrichdep.h
/usr/include/solv/poolarch.h
/usr/include/solv/poolid.h
/usr/include/solv/pooltypes.h
/usr/include/solv/poolvendor.h
/usr/include/solv/problems.h
/usr/include/solv/queue.h
/usr/include/solv/repo.h
/usr/include/solv/repo_appdata.h
/usr/include/solv/repo_comps.h
/usr/include/solv/repo_deltainfoxml.h
/usr/include/solv/repo_repomdxml.h
/usr/include/solv/repo_rpmdb.h
/usr/include/solv/repo_rpmmd.h
/usr/include/solv/repo_solv.h
/usr/include/solv/repo_updateinfoxml.h
/usr/include/solv/repo_write.h
/usr/include/solv/repodata.h
/usr/include/solv/rules.h
/usr/include/solv/selection.h
/usr/include/solv/solv_xfopen.h
/usr/include/solv/solvable.h
/usr/include/solv/solver.h
/usr/include/solv/solverdebug.h
/usr/include/solv/solvversion.h
/usr/include/solv/strpool.h
/usr/include/solv/testcase.h
/usr/include/solv/tools_util.h
/usr/include/solv/transaction.h
/usr/include/solv/util.h
/usr/lib/libsolv.so
/usr/lib/libsolvext.so
/usr/lib/pkgconfig/libsolv.pc
/usr/lib/pkgconfig/libsolvext.pc
/usr/share/cmake/Modules
/usr/share/cmake/Modules/FindLibSolv.cmake
/usr/share/man/man3/libsolv-bindings.3.gz
/usr/share/man/man3/libsolv-constantids.3.gz
/usr/share/man/man3/libsolv-history.3.gz
/usr/share/man/man3/libsolv-pool.3.gz
/usr/share/man/man3/libsolv.3.gz
/usr/include/solv
/usr/include/solv/bitmap.h
/usr/include/solv/chksum.h
/usr/include/solv/dataiterator.h
/usr/include/solv/dirpool.h
/usr/include/solv/evr.h
/usr/include/solv/hash.h
/usr/include/solv/knownid.h
/usr/include/solv/policy.h
/usr/include/solv/pool.h
/usr/include/solv/pool_fileconflicts.h
/usr/include/solv/pool_parserpmrichdep.h
/usr/include/solv/poolarch.h
/usr/include/solv/poolid.h
/usr/include/solv/pooltypes.h
/usr/include/solv/poolvendor.h
/usr/include/solv/problems.h
/usr/include/solv/queue.h
/usr/include/solv/repo.h
/usr/include/solv/repo_appdata.h
/usr/include/solv/repo_comps.h
/usr/include/solv/repo_deltainfoxml.h
/usr/include/solv/repo_repomdxml.h
/usr/include/solv/repo_rpmdb.h
/usr/include/solv/repo_rpmmd.h
/usr/include/solv/repo_solv.h
/usr/include/solv/repo_updateinfoxml.h
/usr/include/solv/repo_write.h
/usr/include/solv/repodata.h
/usr/include/solv/rules.h
/usr/include/solv/selection.h
/usr/include/solv/solv_xfopen.h
/usr/include/solv/solvable.h
/usr/include/solv/solver.h
/usr/include/solv/solverdebug.h
/usr/include/solv/solvversion.h
/usr/include/solv/strpool.h
/usr/include/solv/testcase.h
/usr/include/solv/tools_util.h
/usr/include/solv/transaction.h
/usr/include/solv/util.h
/usr/lib64/libsolv.so
/usr/lib64/libsolvext.so
/usr/lib64/pkgconfig/libsolv.pc
/usr/lib64/pkgconfig/libsolvext.pc
/usr/share/cmake/Modules
/usr/share/cmake/Modules/FindLibSolv.cmake
/usr/share/man/man3/libsolv-bindings.3.gz
/usr/share/man/man3/libsolv-constantids.3.gz
/usr/share/man/man3/libsolv-history.3.gz
/usr/share/man/man3/libsolv-pool.3.gz
/usr/share/man/man3/libsolv.3.gz

References

Summary

In this tutorial we learn how to install libsolv-devel on Rocky Linux 8 using yum and dnf.