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

In this tutorial we learn how to install hawkey-devel.x86_64 in Amazon Linux 2. hawkey-devel.x86_64 is A Library providing simplified C and Python API to libsolv

Introduction

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

What is hawkey-devel.x86_64

Development files for hawkey.

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

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

sudo yum -y install hawkey-devel.x86_64

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

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

sudo yum remove hawkey-devel.x86_64

hawkey-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/hawkey
/usr/include/hawkey/advisory.h
/usr/include/hawkey/advisorypkg.h
/usr/include/hawkey/advisoryref.h
/usr/include/hawkey/errno.h
/usr/include/hawkey/goal.h
/usr/include/hawkey/nevra.h
/usr/include/hawkey/package.h
/usr/include/hawkey/packagelist.h
/usr/include/hawkey/packageset.h
/usr/include/hawkey/query.h
/usr/include/hawkey/reldep.h
/usr/include/hawkey/repo.h
/usr/include/hawkey/sack.h
/usr/include/hawkey/selector.h
/usr/include/hawkey/stringarray.h
/usr/include/hawkey/subject.h
/usr/include/hawkey/types.h
/usr/include/hawkey/util.h
/usr/include/hawkey/version.h
/usr/lib64/libhawkey.so
/usr/lib64/pkgconfig/hawkey.pc
/usr/share/man/man3/hawkey.3.gz

References

Summary

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