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

In this tutorial we learn how to install libhif-devel.x86_64 in Amazon Linux 2. libhif-devel.x86_64 is GLib Libraries and headers for libhif

Introduction

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

What is libhif-devel.x86_64

GLib headers and libraries for libhif.

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

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

sudo yum -y install libhif-devel.x86_64

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

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

sudo yum remove libhif-devel.x86_64

libhif-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/libhif
/usr/include/libhif/hif-context.h
/usr/include/libhif/hif-db.h
/usr/include/libhif/hif-goal.h
/usr/include/libhif/hif-hawkey.h
/usr/include/libhif/hif-keyring.h
/usr/include/libhif/hif-lock.h
/usr/include/libhif/hif-package.h
/usr/include/libhif/hif-repos.h
/usr/include/libhif/hif-rpmts.h
/usr/include/libhif/hif-sack.h
/usr/include/libhif/hif-source.h
/usr/include/libhif/hif-state.h
/usr/include/libhif/hif-transaction.h
/usr/include/libhif/hif-types.h
/usr/include/libhif/hif-utils.h
/usr/include/libhif/hif-version.h
/usr/include/libhif/libhif.h
/usr/lib64/libhif.so
/usr/lib64/pkgconfig/libhif.pc
/usr/share/gir-1.0/Hif-1.0.gir
/usr/share/gtk-doc
/usr/share/gtk-doc/html
/usr/share/gtk-doc/html/libhif
/usr/share/gtk-doc/html/libhif/annotation-glossary.html
/usr/share/gtk-doc/html/libhif/home.png
/usr/share/gtk-doc/html/libhif/index.html
/usr/share/gtk-doc/html/libhif/left-insensitive.png
/usr/share/gtk-doc/html/libhif/left.png
/usr/share/gtk-doc/html/libhif/libhif-hif-version.html
/usr/share/gtk-doc/html/libhif/libhif.devhelp2
/usr/share/gtk-doc/html/libhif/libhif.html
/usr/share/gtk-doc/html/libhif/right-insensitive.png
/usr/share/gtk-doc/html/libhif/right.png
/usr/share/gtk-doc/html/libhif/style.css
/usr/share/gtk-doc/html/libhif/up-insensitive.png
/usr/share/gtk-doc/html/libhif/up.png

References

Summary

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