How To Install libabigail on CentOS 7

In this tutorial we learn how to install libabigail on CentOS 7. libabigail is Set of ABI analysis tools

Introduction

In this tutorial we learn how to install libabigail on CentOS 7.

What is libabigail

The libabigail package comprises seven command line utilities abidiff, kmidiff, abipkgdiff, abicompat, abidw, abilint and fedabipkgdiff. The abidiff command line tool compares the ABI of two ELF shared libraries and emits meaningful textual reports about changes impacting exported functions, variables and their types. Simarly, the kmidiff compares the kernel module interface of two Linux kernels. abipkgdiff compares the ABIs of ELF binaries contained in two packages. abicompat checks if a subsequent version of a shared library is still compatible with an application that is linked against it. abidw emits an XML representation of the ABI of a given ELF shared library. abilint checks that a given XML representation of the ABI of a shared library is correct. fedabipkgdiff interacts with the Fedora Build System over the internet to let the user compare the ABI of Fedora packages without having to download them manually. Install libabigail if you need to compare the ABI of ELF shared libraries.

We can use yum or dnf to install libabigail on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libabigail.

Install libabigail on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libabigail using yum by running the following command:

sudo yum -y install libabigail

Install libabigail on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install libabigail using dnf by running the following command:

sudo dnf -y install libabigail

How To Uninstall libabigail on CentOS 7

To uninstall only the libabigail package we can use the following command:

sudo dnf remove libabigail

References

Summary

In this tutorial we learn how to install libabigail on CentOS 7 using yum and dnf.