How To Install libsolv-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libsolv-devel.x86_64 in Amazon Linux 2. libsolv-devel.x86_64 is Development files for libsolv

Introduction

In this tutorial we learn how to install libsolv-devel.x86_64 on Amazon Linux 2.

What is libsolv-devel.x86_64

Development files for libsolv.

We can use yum to install libsolv-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libsolv-devel.x86_64.

Install libsolv-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libsolv-devel.x86_64

How To Uninstall libsolv-devel.x86_64 on Amazon Linux 2

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

sudo yum remove libsolv-devel.x86_64

libsolv-devel.x86_64 Package Contents on Amazon Linux 2

/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_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.x86_64 on Amazon Linux 2 using yum.