How To Install gcc-toolset-10-elfutils on Rocky Linux 8
Introduction
In this tutorial we learn how to install gcc-toolset-10-elfutils
on Rocky Linux 8.
What is gcc-toolset-10-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 gcc-toolset-10-elfutils
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gcc-toolset-10-elfutils.
Install gcc-toolset-10-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 gcc-toolset-10-elfutils
using dnf
by running the following command:
sudo dnf -y install gcc-toolset-10-elfutils
Install gcc-toolset-10-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 gcc-toolset-10-elfutils
using yum
by running the following command:
sudo yum -y install gcc-toolset-10-elfutils
How To Uninstall gcc-toolset-10-elfutils on Rocky Linux 8
To uninstall only the gcc-toolset-10-elfutils
package we can use the following command:
sudo dnf remove gcc-toolset-10-elfutils
gcc-toolset-10-elfutils Package Contents on Rocky Linux 8
/opt/rh/gcc-toolset-10/root/usr/bin/eu-addr2line
/opt/rh/gcc-toolset-10/root/usr/bin/eu-ar
/opt/rh/gcc-toolset-10/root/usr/bin/eu-elfclassify
/opt/rh/gcc-toolset-10/root/usr/bin/eu-elfcmp
/opt/rh/gcc-toolset-10/root/usr/bin/eu-elfcompress
/opt/rh/gcc-toolset-10/root/usr/bin/eu-elflint
/opt/rh/gcc-toolset-10/root/usr/bin/eu-findtextrel
/opt/rh/gcc-toolset-10/root/usr/bin/eu-make-debug-archive
/opt/rh/gcc-toolset-10/root/usr/bin/eu-nm
/opt/rh/gcc-toolset-10/root/usr/bin/eu-objdump
/opt/rh/gcc-toolset-10/root/usr/bin/eu-ranlib
/opt/rh/gcc-toolset-10/root/usr/bin/eu-readelf
/opt/rh/gcc-toolset-10/root/usr/bin/eu-size
/opt/rh/gcc-toolset-10/root/usr/bin/eu-stack
/opt/rh/gcc-toolset-10/root/usr/bin/eu-strings
/opt/rh/gcc-toolset-10/root/usr/bin/eu-strip
/opt/rh/gcc-toolset-10/root/usr/bin/eu-unstrip
/opt/rh/gcc-toolset-10/root/usr/share/doc/gcc-toolset-10-elfutils
/opt/rh/gcc-toolset-10/root/usr/share/doc/gcc-toolset-10-elfutils/CONTRIBUTING
/opt/rh/gcc-toolset-10/root/usr/share/doc/gcc-toolset-10-elfutils/README
/opt/rh/gcc-toolset-10/root/usr/share/doc/gcc-toolset-10-elfutils/TODO
/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-elfutils
/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-elfutils/COPYING
/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-elfutils/COPYING-GFDL
/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-elfutils/COPYING-GPLV2
/opt/rh/gcc-toolset-10/root/usr/share/licenses/gcc-toolset-10-elfutils/COPYING-LGPLV3
/opt/rh/gcc-toolset-10/root/usr/share/man/man1/eu-elfclassify.1.gz
/opt/rh/gcc-toolset-10/root/usr/share/man/man1/eu-readelf.1.gz
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/36402f85c6cde53d350fabe259d4c3a6b77166
/usr/lib/.build-id/08
/usr/lib/.build-id/08/798fdc34e193cf36e619a30b5cc3c3975faecc
/usr/lib/.build-id/08/b26fb939930a791873caadf793d8cda89733be
/usr/lib/.build-id/15
/usr/lib/.build-id/15/830e5d6e0a1fee494efaf0b5a3ef0232f4f918
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/cbf0159e5274426ba348745d9e7949ef7c337d
/usr/lib/.build-id/23
/usr/lib/.build-id/23/a8957e3d7ff91dc30d016697e1b75726b0c2bd
/usr/lib/.build-id/47
/usr/lib/.build-id/47/f21e348ef01c4f7f935ed40b39b7689b9cec47
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/75ca2af5c376d6aa055b74c3586a3f11db464d
/usr/lib/.build-id/54
/usr/lib/.build-id/54/d40caad461b6d1fdf0d86144d0635d4c234e34
/usr/lib/.build-id/90
/usr/lib/.build-id/90/622b8d69438066131715ca6556cb4a2525f77a
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/ad441594a0c75164d7665f9d22023bca45ee07
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/1c1d4d32ed3ac442f3cfda655e12b9b58b04ad
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/e3b9a8d18e4ce7793e34dddb9aec2dda513a1f
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/b4be364d2855cdbd7c39f81d2bab2cea2d9b17
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/db57fe36ad0e8f486e132956ebb3efa0e2328a
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/4e0d5b011ecf93d701bd52064fcff5ad3e4900
References
Summary
In this tutorial we learn how to install gcc-toolset-10-elfutils
on Rocky Linux 8 using yum and dnf.