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

In this tutorial we learn how to install librepo-devel.x86_64 in Amazon Linux 2. librepo-devel.x86_64 is Repodata downloading library

Introduction

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

What is librepo-devel.x86_64

Development files for librepo.

We can use yum to install librepo-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 librepo-devel.x86_64.

Install librepo-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 librepo-devel.x86_64 using yum by running the following command:

sudo yum -y install librepo-devel.x86_64

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

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

sudo yum remove librepo-devel.x86_64

librepo-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/librepo
/usr/include/librepo/checksum.h
/usr/include/librepo/downloader.h
/usr/include/librepo/downloader_internal.h
/usr/include/librepo/downloadtarget.h
/usr/include/librepo/fastestmirror.h
/usr/include/librepo/gpg.h
/usr/include/librepo/handle.h
/usr/include/librepo/librepo.h
/usr/include/librepo/metadata_downloader.h
/usr/include/librepo/metalink.h
/usr/include/librepo/mirrorlist.h
/usr/include/librepo/package_downloader.h
/usr/include/librepo/rcodes.h
/usr/include/librepo/repoconf.h
/usr/include/librepo/repomd.h
/usr/include/librepo/repoutil_yum.h
/usr/include/librepo/result.h
/usr/include/librepo/types.h
/usr/include/librepo/url_substitution.h
/usr/include/librepo/util.h
/usr/include/librepo/version.h
/usr/include/librepo/xmlparser.h
/usr/include/librepo/yum.h
/usr/lib64/librepo.so
/usr/lib64/pkgconfig/librepo.pc

References

Summary

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