How To Install abi-compliance-checker on CentOS 8

abi-compliance-checker is An ABI Compliance Checker

Introduction

In this tutorial we learn how to install abi-compliance-checker on CentOS 8.

What is abi-compliance-checker

A tool for checking backward binary compatibility of a shared C/C++ library. It checks for changes in calling stack, changes in v-table, removed symbols, etc.

We can use yum or dnf to install abi-compliance-checker on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install abi-compliance-checker.

Install abi-compliance-checker on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install abi-compliance-checker using dnf by running the following command:

sudo dnf -y install abi-compliance-checker

Install abi-compliance-checker on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install abi-compliance-checker using yum by running the following command:

sudo yum -y install abi-compliance-checker

How To Uninstall abi-compliance-checker on CentOS 8

To uninstall only the abi-compliance-checker package we can use the following command:

sudo dnf remove abi-compliance-checker

abi-compliance-checker Package Contents on CentOS 8

/usr/bin/abi-compliance-checker
/usr/share/abi-compliance-checker
/usr/share/abi-compliance-checker/modules
/usr/share/abi-compliance-checker/modules/Internals
/usr/share/abi-compliance-checker/modules/Internals/ABIDump.pm
/usr/share/abi-compliance-checker/modules/Internals/Basic.pm
/usr/share/abi-compliance-checker/modules/Internals/CallConv.pm
/usr/share/abi-compliance-checker/modules/Internals/Descriptor.pm
/usr/share/abi-compliance-checker/modules/Internals/ElfTools.pm
/usr/share/abi-compliance-checker/modules/Internals/Filter.pm
/usr/share/abi-compliance-checker/modules/Internals/GccAst.pm
/usr/share/abi-compliance-checker/modules/Internals/Input.pm
/usr/share/abi-compliance-checker/modules/Internals/Logging.pm
/usr/share/abi-compliance-checker/modules/Internals/Mangling.pm
/usr/share/abi-compliance-checker/modules/Internals/Path.pm
/usr/share/abi-compliance-checker/modules/Internals/RegTests.pm
/usr/share/abi-compliance-checker/modules/Internals/Scripts
/usr/share/abi-compliance-checker/modules/Internals/Scripts/Sections.js
/usr/share/abi-compliance-checker/modules/Internals/Scripts/Tabs.js
/usr/share/abi-compliance-checker/modules/Internals/Styles
/usr/share/abi-compliance-checker/modules/Internals/Styles/CmpSystems.css
/usr/share/abi-compliance-checker/modules/Internals/Styles/HeadersDiff.css
/usr/share/abi-compliance-checker/modules/Internals/Styles/Report.css
/usr/share/abi-compliance-checker/modules/Internals/Styles/SymbolsList.css
/usr/share/abi-compliance-checker/modules/Internals/Styles/Tabs.css
/usr/share/abi-compliance-checker/modules/Internals/SysCheck.pm
/usr/share/abi-compliance-checker/modules/Internals/SysFiles.pm
/usr/share/abi-compliance-checker/modules/Internals/TUDump.pm
/usr/share/abi-compliance-checker/modules/Internals/TypeAttr.pm
/usr/share/abi-compliance-checker/modules/Internals/Utils.pm
/usr/share/abi-compliance-checker/modules/Internals/XmlDump.pm
/usr/share/abi-compliance-checker/modules/RulesBin.xml
/usr/share/abi-compliance-checker/modules/RulesSrc.xml
/usr/share/doc/abi-compliance-checker
/usr/share/doc/abi-compliance-checker/Changelog.html
/usr/share/doc/abi-compliance-checker/README.md
/usr/share/doc/abi-compliance-checker/Xml-Descriptor.html
/usr/share/doc/abi-compliance-checker/index.html
/usr/share/licenses/abi-compliance-checker
/usr/share/licenses/abi-compliance-checker/LICENSE

References

Summary

In this tutorial we learn how to install abi-compliance-checker on CentOS 8 using yum and dnf.