How To Install annobin-annocheck on Rocky Linux 8

In this tutorial we learn how to install annobin-annocheck on Rocky Linux 8. annobin-annocheck is A tool for checking the security hardening status of binaries

Introduction

In this tutorial we learn how to install annobin-annocheck on Rocky Linux 8.

What is annobin-annocheck

Installs the annocheck program which uses the notes generated by annobin to check that the specified files were compiled with the correct security hardening options.

We can use yum or dnf to install annobin-annocheck on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install annobin-annocheck.

Install annobin-annocheck on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install annobin-annocheck

Install annobin-annocheck on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install annobin-annocheck using yum by running the following command:

sudo yum -y install annobin-annocheck

How To Uninstall annobin-annocheck on Rocky Linux 8

To uninstall only the annobin-annocheck package we can use the following command:

sudo dnf remove annobin-annocheck

annobin-annocheck Package Contents on Rocky Linux 8

/usr/bin/annocheck
/usr/lib/.build-id
/usr/lib/.build-id/61
/usr/lib/.build-id/61/543e9b1937038bdbfc01ef7692ffe3ff6eac5a
/usr/share/man/man1/annocheck.1.gz

References

Summary

In this tutorial we learn how to install annobin-annocheck on Rocky Linux 8 using yum and dnf.