How To Install gcc-toolset-10-dyninst on Rocky Linux 8

In this tutorial we learn how to install gcc-toolset-10-dyninst on Rocky Linux 8. gcc-toolset-10-dyninst is An API for Run-time Code Generation

Introduction

In this tutorial we learn how to install gcc-toolset-10-dyninst on Rocky Linux 8.

What is gcc-toolset-10-dyninst

Dyninst is an Application Program Interface (API) to permit the insertion of code into a running program. The API also permits changing or removing subroutine calls from the application program. Run-time code changes are useful to support a variety of applications including debugging, performance monitoring, and to support composing applications out of existing packages. The goal of this API is to provide a machine independent interface to permit the creation of tools and applications that use run-time code patching.

We can use yum or dnf to install gcc-toolset-10-dyninst 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-dyninst.

Install gcc-toolset-10-dyninst 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-dyninst using dnf by running the following command:

sudo dnf -y install gcc-toolset-10-dyninst

Install gcc-toolset-10-dyninst 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-dyninst using yum by running the following command:

sudo yum -y install gcc-toolset-10-dyninst

How To Uninstall gcc-toolset-10-dyninst on Rocky Linux 8

To uninstall only the gcc-toolset-10-dyninst package we can use the following command:

sudo dnf remove gcc-toolset-10-dyninst

gcc-toolset-10-dyninst Package Contents on Rocky Linux 8

/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libcommon.so.10.2
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libcommon.so.10.2.1
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libdynC_API.so.10.2
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libdynC_API.so.10.2.1
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libdynDwarf.so.10.2
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libdynDwarf.so.10.2.1
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libdynElf.so.10.2
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libdynElf.so.10.2.1
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libdyninstAPI.so.10.2
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libdyninstAPI.so.10.2.1
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libdyninstAPI_RT.so
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libdyninstAPI_RT.so.10.2
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libdyninstAPI_RT.so.10.2.1
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libinstructionAPI.so.10.2
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libinstructionAPI.so.10.2.1
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libparseAPI.so.10.2
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libparseAPI.so.10.2.1
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libpatchAPI.so.10.2
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libpatchAPI.so.10.2.1
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libpcontrol.so.10.2
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libpcontrol.so.10.2.1
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libstackwalk.so.10.2
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libstackwalk.so.10.2.1
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libsymLite.so.10.2
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libsymLite.so.10.2.1
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libsymtabAPI.so.10.2
/opt/rh/gcc-toolset-10/root/usr/lib64/dyninst/libsymtabAPI.so.10.2.1
/opt/rh/gcc-toolset-10/root/usr/share/doc/gcc-toolset-10-dyninst
/opt/rh/gcc-toolset-10/root/usr/share/doc/gcc-toolset-10-dyninst/COPYRIGHT
/opt/rh/gcc-toolset-10/root/usr/share/doc/gcc-toolset-10-dyninst/LICENSE.md
/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/5dce4dffb4725c407ef78f115e75b20c4aecae
/usr/lib/.build-id/57
/usr/lib/.build-id/57/0113985a6a27af70717263d6cb252856a40da4
/usr/lib/.build-id/83
/usr/lib/.build-id/83/36bc718f01ff62cef005033a4a7021b87fcfcd
/usr/lib/.build-id/84
/usr/lib/.build-id/84/a93eb5ce2cc4106143789ce9e001567e68f17b
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/0ca7be1547d281c05170b5050d96cbc0b2b5c4
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/1bfe9bd48e4718e053e1a3c8e538057352e8a3
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/0a71efd90273858be215bb8c2b962f7e3a9537
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/cafa459b3ae82df4e16c30fe53dbd44662898f
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/1819b9c0678137d84df963aff1f64ab686dda7
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/08f9ecfb306b8a30b698d0c66374719de7802b
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/89411429157bf26fc89337f4c694e5641b4b4d
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/976c43b231ba8b2a6b723f0192b538281b7430
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/2517147d65f89910b6bf84f9b458716b6f13c5

References

Summary

In this tutorial we learn how to install gcc-toolset-10-dyninst on Rocky Linux 8 using yum and dnf.