How To Install elfutils on Rocky Linux 8
Introduction
In this tutorial we learn how to install elfutils
on Rocky Linux 8.
What is elfutils
Elfutils is a collection of utilities, including stack (to show backtraces), nm (for listing symbols from object files), size (for listing the section sizes of an object or archive file), strip (for discarding symbols), readelf (to see the raw ELF file structures), elflint (to check for well-formed ELF files) and elfcompress (to compress or decompress ELF sections).
We can use yum
or dnf
to install elfutils
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install elfutils.
Install elfutils 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
using dnf
by running the following command:
sudo dnf -y install elfutils
Install elfutils 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
using yum
by running the following command:
sudo yum -y install elfutils
How To Uninstall elfutils on Rocky Linux 8
To uninstall only the elfutils
package we can use the following command:
sudo dnf remove elfutils
elfutils Package Contents on Rocky Linux 8
/usr/bin/eu-addr2line
/usr/bin/eu-ar
/usr/bin/eu-elfclassify
/usr/bin/eu-elfcmp
/usr/bin/eu-elfcompress
/usr/bin/eu-elflint
/usr/bin/eu-findtextrel
/usr/bin/eu-make-debug-archive
/usr/bin/eu-nm
/usr/bin/eu-objdump
/usr/bin/eu-ranlib
/usr/bin/eu-readelf
/usr/bin/eu-size
/usr/bin/eu-stack
/usr/bin/eu-strings
/usr/bin/eu-strip
/usr/bin/eu-unstrip
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/5c8f487926855b457070f196a7aa0ff5932836
/usr/lib/.build-id/07
/usr/lib/.build-id/07/dd854628b60695e95a38d4e87ae2b9c823e9e3
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/fd22c0071d5ca86116daca9d69e4fb2345fb96
/usr/lib/.build-id/13
/usr/lib/.build-id/13/f3aff98ac42b2cbdabee5988e92b77af923a20
/usr/lib/.build-id/29
/usr/lib/.build-id/29/7c7838610a240ddf11fe10688e7841a7f1e586
/usr/lib/.build-id/54
/usr/lib/.build-id/54/e2e684c1b5b699bd3125ac8cdcae58d1b29b05
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/c20860cf31b06357d22367702abe58d235ac6f
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/12eaddf01560e5fef77c8d8a42f0e7c1b035ff
/usr/lib/.build-id/69
/usr/lib/.build-id/69/9d2a318f8f169e726431a04e6703cdda654daa
/usr/lib/.build-id/96
/usr/lib/.build-id/96/1ee84a102e7928c5f1ad4f3b92329b34a4a5d1
/usr/lib/.build-id/98
/usr/lib/.build-id/98/be9bcef165778473452c1dc89e6bc3958c5d5c
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/47178ad7130e38603214257662a3790ed58d4b
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/d2a5f58eeb00dbb3730ae66621718dbeba1584
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/05003a558ae58a25d04c1633c745a8fb616508
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/9f3fff82f7365bed7075eade75d84c93d2552d
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/13cc3180d0e5a1162e6e80f9f5209e0bf2e516
/usr/share/doc/elfutils
/usr/share/doc/elfutils/CONTRIBUTING
/usr/share/doc/elfutils/README
/usr/share/doc/elfutils/TODO
/usr/share/licenses/elfutils
/usr/share/licenses/elfutils/COPYING
/usr/share/licenses/elfutils/COPYING-GFDL
/usr/share/licenses/elfutils/COPYING-GPLV2
/usr/share/licenses/elfutils/COPYING-LGPLV3
/usr/share/man/man1/eu-elfclassify.1.gz
/usr/share/man/man1/eu-readelf.1.gz
References
Summary
In this tutorial we learn how to install elfutils
on Rocky Linux 8 using yum and dnf.