How To Install libhif.x86_64 on Amazon Linux 2
In this tutorial we learn how to install libhif.x86_64 in Amazon Linux 2. libhif.x86_64 is Simple package library built on top of hawkey and librepo
Introduction
In this tutorial we learn how to install libhif.x86_64 on Amazon Linux 2.
What is libhif.x86_64
This library provides a simple interface to hawkey and librepo and is currently used by PackageKit and rpm-ostree.
We can use yum to install libhif.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.x86_64.
Install libhif.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.x86_64 using yum by running the following command:
sudo yum -y install libhif.x86_64
How To Uninstall libhif.x86_64 on Amazon Linux 2
To uninstall only the libhif.x86_64 package we can use the following command:
sudo yum remove libhif.x86_64
libhif.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/girepository-1.0/Hif-1.0.typelib
/usr/lib64/libhif.so.1
/usr/lib64/libhif.so.1.0.8
/usr/share/doc/libhif-0.2.1
/usr/share/doc/libhif-0.2.1/AUTHORS
/usr/share/doc/libhif-0.2.1/COPYING
/usr/share/doc/libhif-0.2.1/NEWS
/usr/share/doc/libhif-0.2.1/README.md
References
Summary
In this tutorial we learn how to install libhif.x86_64 on Amazon Linux 2 using yum.