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

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

Introduction

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

What is gcc-toolset-9-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-9-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-9-dyninst.

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

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

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

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

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

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

sudo dnf remove gcc-toolset-9-dyninst

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

/opt/rh/gcc-toolset-9/root/usr/lib/dyninst
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libcommon.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libcommon.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libdynC_API.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libdynC_API.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libdynDwarf.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libdynDwarf.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libdynElf.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libdynElf.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libdyninstAPI.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libdyninstAPI.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libdyninstAPI_RT.so
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libdyninstAPI_RT.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libdyninstAPI_RT.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libinstructionAPI.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libinstructionAPI.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libparseAPI.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libparseAPI.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libpatchAPI.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libpatchAPI.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libpcontrol.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libpcontrol.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libstackwalk.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libstackwalk.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libsymLite.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libsymLite.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libsymtabAPI.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib/dyninst/libsymtabAPI.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/share/doc/gcc-toolset-9-dyninst
/opt/rh/gcc-toolset-9/root/usr/share/doc/gcc-toolset-9-dyninst/COPYRIGHT
/opt/rh/gcc-toolset-9/root/usr/share/doc/gcc-toolset-9-dyninst/LICENSE.md
/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/dba5cfe48441b4eea5888e4f000bf8dd4cea53
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/40fde8adac9194c709486fbd5debaf64334177
/usr/lib/.build-id/32
/usr/lib/.build-id/32/acc50cc770c980ac8d21298bec3ac3fbf6565a
/usr/lib/.build-id/39
/usr/lib/.build-id/39/64e89b0b64b418572dfcb76c49d6f222454d71
/usr/lib/.build-id/45
/usr/lib/.build-id/45/2e2ce6403d0d837c74200ac77b804e52271dfa
/usr/lib/.build-id/48
/usr/lib/.build-id/48/084f16ba7c57e8702fb06196b0d29ef01ef7c6
/usr/lib/.build-id/61
/usr/lib/.build-id/61/5c3d9d799596e49393d092b57448ba92c7cb87
/usr/lib/.build-id/73
/usr/lib/.build-id/73/44ed6a45df50d732ba016a2dc40c0a6e841d94
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/08a4fed01429c66633f1d87f4792d3855f485d
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/d4b0e694c50e913be731a7b23acba34186f9d5
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/47b247799504fc588bafba621012b6f9ba9a9a
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/42a8d1f6f8e1a0447bf4cbe2a2f7c8332046e0
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/a57c3ceb393b8bbc043a303c082d03e0ef5d2b
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libcommon.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libcommon.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libdynC_API.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libdynC_API.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libdynDwarf.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libdynDwarf.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libdynElf.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libdynElf.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libdyninstAPI.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libdyninstAPI.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libdyninstAPI_RT.so
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libdyninstAPI_RT.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libdyninstAPI_RT.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libinstructionAPI.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libinstructionAPI.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libparseAPI.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libparseAPI.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libpatchAPI.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libpatchAPI.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libpcontrol.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libpcontrol.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libstackwalk.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libstackwalk.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libsymLite.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libsymLite.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libsymtabAPI.so.10.1
/opt/rh/gcc-toolset-9/root/usr/lib64/dyninst/libsymtabAPI.so.10.1.0
/opt/rh/gcc-toolset-9/root/usr/share/doc/gcc-toolset-9-dyninst
/opt/rh/gcc-toolset-9/root/usr/share/doc/gcc-toolset-9-dyninst/COPYRIGHT
/opt/rh/gcc-toolset-9/root/usr/share/doc/gcc-toolset-9-dyninst/LICENSE.md
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/cc2480b2049c420edaa64257bd87ed30d8640c
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/1eb4fe7134ed9e8822036a98cda4443f9e5e61
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/880956d5208a6e843532084ebe291d96f660bd
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/9f0aa5352efdfab237ec48585b8d233296ee81
/usr/lib/.build-id/54
/usr/lib/.build-id/54/1b84483635f1fab9e566e5a267615401d0054f
/usr/lib/.build-id/66
/usr/lib/.build-id/66/45b6478e16a45943b74db9dbd71676433e248a
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/0f2ad3642d067b462b1a0c8b80d6ea53a8beed
/usr/lib/.build-id/83
/usr/lib/.build-id/83/dcb940c2a5fe9fa0de21ca78858be67c51900f
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/58abe3bb6b90f62fe953ec98f35cde4e43c2ff
/usr/lib/.build-id/94
/usr/lib/.build-id/94/844bddf00c48452386d3bc6d9b5be53ce363fe
/usr/lib/.build-id/98
/usr/lib/.build-id/98/05c114a0e895b7c18dc22a6517202623750b46
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/f4e19aad21e783a3cb8e3b29b1e289d71c6be2
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/a7252a31144c574aba419b922414f84bee0b8c

References

Summary

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