How To Install elfutils-debuginfod on Rocky Linux 8

In this tutorial we learn how to install elfutils-debuginfod on Rocky Linux 8. elfutils-debuginfod is HTTP ELF/DWARF file server addressed by build-id

Introduction

In this tutorial we learn how to install elfutils-debuginfod on Rocky Linux 8.

What is elfutils-debuginfod

The elfutils-debuginfod package contains the debuginfod binary and control files for a service that can provide ELF/DWARF files to remote clients, based on build-id identification. The ELF/DWARF file searching functions in libdwfl can query such servers to download those files on demand.

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

Install elfutils-debuginfod 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 elfutils-debuginfod using dnf by running the following command:

sudo dnf -y install elfutils-debuginfod

Install elfutils-debuginfod 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 elfutils-debuginfod using yum by running the following command:

sudo yum -y install elfutils-debuginfod

How To Uninstall elfutils-debuginfod on Rocky Linux 8

To uninstall only the elfutils-debuginfod package we can use the following command:

sudo dnf remove elfutils-debuginfod

elfutils-debuginfod Package Contents on Rocky Linux 8

/etc/sysconfig/debuginfod
/usr/bin/debuginfod
/usr/lib/.build-id
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/66582b4518a54f7573c66b19a85279e24024a0
/usr/lib/systemd/system/debuginfod.service
/usr/share/man/man8/debuginfod.8.gz
/var/cache/debuginfod
/var/cache/debuginfod/debuginfod.sqlite

References

Summary

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