How To Install libabigail on Fedora 34

libabigail is Set of ABI analysis tools Set of ABI analysis tools

Introduction

In this tutorial we learn how to install libabigail on Fedora 34.

What is libabigail

The libabigail package comprises seven command line utilities abidiff, kmidiff, abipkgdiff, abicompat, abidw, and abilint. 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. Install libabigail if you need to compare the ABI of ELF shared libraries. libabigail 1.8.2 1.fc34 x86_64 1.4 M libabigail-1.8.2-1.fc34.src.rpm fedora Set of ABI analysis tools https LGPLv3+ The libabigail package comprises seven command line utilities abidiff, kmidiff, abipkgdiff, abicompat, abidw, and abilint. 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. Install libabigail if you need to compare the ABI of ELF shared libraries.

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

Install libabigail on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libabigail

Install libabigail on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install libabigail

How To Uninstall libabigail on Fedora 34

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

sudo dnf remove libabigail

libabigail Package Contents on Fedora 34

/usr/bin/abicompat
/usr/bin/abidiff
/usr/bin/abidw
/usr/bin/abilint
/usr/bin/abipkgdiff
/usr/bin/kmidiff
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/33210c78395cb298071d59f2ebb8e76cdb163d
/usr/lib/.build-id/32
/usr/lib/.build-id/32/cc742adf9029e442609c9de633cea0990d5e80
/usr/lib/.build-id/39
/usr/lib/.build-id/39/52fb43719c9a77aa4fdbc0350ca71203f70460
/usr/lib/.build-id/42
/usr/lib/.build-id/42/008a8d88637ed35e17009040a0ee967c79bfff
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/a245d63eae003d52d8363123f6b2ba00a51d0e
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/aa228bcf462f93793b736e53b17b0aea9c4578
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/21c7250c21e8014b7342df091df009e0b6150a
/usr/lib/libabigail.so.0
/usr/lib/libabigail.so.0.0.0
/usr/lib/libabigail/default.abignore
/usr/share/doc/libabigail
/usr/share/doc/libabigail/AUTHORS
/usr/share/doc/libabigail/ChangeLog
/usr/share/doc/libabigail/README
/usr/share/info/abigail.info.gz
/usr/share/licenses/libabigail
/usr/share/licenses/libabigail/COPYING
/usr/share/licenses/libabigail/COPYING-GPLV3
/usr/share/licenses/libabigail/COPYING-LGPLV3
/usr/share/man/man1/abicompat.1.gz
/usr/share/man/man1/abidiff.1.gz
/usr/share/man/man1/abidw.1.gz
/usr/share/man/man1/abilint.1.gz
/usr/share/man/man1/abipkgdiff.1.gz
/usr/share/man/man7/libabigail.7.gz
/usr/bin/abicompat
/usr/bin/abidiff
/usr/bin/abidw
/usr/bin/abilint
/usr/bin/abipkgdiff
/usr/bin/kmidiff
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/b289c11ad4a4cf09e02dea7a0b19a853918e3e
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/22824a9c88ee911f008ee1b27bba82ff33c246
/usr/lib/.build-id/31
/usr/lib/.build-id/31/5198f2af906c4f69480e11a7d32af941f1102b
/usr/lib/.build-id/31/9da63434efea362ae4b8b5115cc62edc320611
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/867ca1f3cb347480007947fa67df9bcdb4cfd2
/usr/lib/.build-id/71
/usr/lib/.build-id/71/b978f8d6dd54e755ee508e700dbc10f631377a
/usr/lib/.build-id/96
/usr/lib/.build-id/96/7a9cfbccd095555bab0a6e579118df7daa304d
/usr/lib64/libabigail.so.0
/usr/lib64/libabigail.so.0.0.0
/usr/lib64/libabigail/default.abignore
/usr/share/doc/libabigail
/usr/share/doc/libabigail/AUTHORS
/usr/share/doc/libabigail/ChangeLog
/usr/share/doc/libabigail/README
/usr/share/info/abigail.info.gz
/usr/share/licenses/libabigail
/usr/share/licenses/libabigail/COPYING
/usr/share/licenses/libabigail/COPYING-GPLV3
/usr/share/licenses/libabigail/COPYING-LGPLV3
/usr/share/man/man1/abicompat.1.gz
/usr/share/man/man1/abidiff.1.gz
/usr/share/man/man1/abidw.1.gz
/usr/share/man/man1/abilint.1.gz
/usr/share/man/man1/abipkgdiff.1.gz
/usr/share/man/man7/libabigail.7.gz

References

Summary

In this tutorial we learn how to install libabigail on Fedora 34 using yum and dnf.