How To Install gcc-toolset-10-dyninst on CentOS 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 CentOS 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 CentOS 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 CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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 CentOS 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 CentOS 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/06
/usr/lib/.build-id/06/11f0fd2c548deed69f5351e10a233303ad8034
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/0ade0b04da3e15ad7dd80a80fe2ad13e95a6cb
/usr/lib/.build-id/43
/usr/lib/.build-id/43/8d242f826f94402d6976052d26b8816f8f1fe1
/usr/lib/.build-id/64
/usr/lib/.build-id/64/7c40bcbcfbc12147a989c631e04219d8001964
/usr/lib/.build-id/90
/usr/lib/.build-id/90/ffdc49fa77147de6c3dcb1adffa080f9d5274a
/usr/lib/.build-id/91
/usr/lib/.build-id/91/549c481d8bd92e8612f29489d3fd8a9f940ae6
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/220af7cb4015d8c4a14798c03d3c0d14d3fa4b
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/518056d9bd634e7ad342ca1ae80eb8e8b4a8af
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/53af20befffd27c837b0b0bcc023f847daab6e
/usr/lib/.build-id/cd/92b6943f934086dc3239f66255f5d1c8a356a6
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/a22ee74e38fe58161ebb84995ba345f3c447a6
/usr/lib/.build-id/de
/usr/lib/.build-id/de/04bd29dab42ce0193f676044b18f207c286f18
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/28ed3990114edce5c01713988e542e8194421e

References

Summary

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