How To Install dyninst on Rocky Linux 8

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

Introduction

In this tutorial we learn how to install dyninst on Rocky Linux 8.

What is 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 dyninst on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install dyninst.

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

sudo dnf -y install dyninst

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

sudo yum -y install dyninst

How To Uninstall dyninst on Rocky Linux 8

To uninstall only the dyninst package we can use the following command:

sudo dnf remove dyninst

dyninst Package Contents on Rocky Linux 8

/etc/ld.so.conf.d/dyninst-i386.conf
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/ec2c0872772caf482aada5dfaa3c5f7a049ddd
/usr/lib/.build-id/14
/usr/lib/.build-id/14/7841b02f053c76e5564fc2c0a2aa55905a2ec3
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/e91e388508e0980471fbda5a49636b3fd73615
/usr/lib/.build-id/20
/usr/lib/.build-id/20/e13160aa6d0582f4fc5129628659fd477008c8
/usr/lib/.build-id/39
/usr/lib/.build-id/39/d25bd46385aa801f214362e63a98ed195e286a
/usr/lib/.build-id/40
/usr/lib/.build-id/40/e6e5cdd6a9c66ff4906030503f36a4bbe2c6f7
/usr/lib/.build-id/51
/usr/lib/.build-id/51/c66255b57bd2b214fa40504eed4d954f85a5be
/usr/lib/.build-id/91
/usr/lib/.build-id/91/b6603a78283fedc2a38b58c124c3d56d5a8c4e
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/a7c2f0e51cea0b237f1ee175d0c6fa11012fe2
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/b6f91c0101d7e52af0b38ba95a55cbf5492bb9
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/3126096eb5f3764ec0d6cd389473a843e8d77f
/usr/lib/.build-id/dc/b9a4e99a73cdfdfc3bdd288c34490c45f5abfc
/usr/lib/.build-id/de
/usr/lib/.build-id/de/06d57ca7b90aaa75fe8474ea7dc914e0802546
/usr/lib/dyninst
/usr/lib/dyninst/libcommon.so.10.2
/usr/lib/dyninst/libcommon.so.10.2.1
/usr/lib/dyninst/libdynC_API.so.10.2
/usr/lib/dyninst/libdynC_API.so.10.2.1
/usr/lib/dyninst/libdynDwarf.so.10.2
/usr/lib/dyninst/libdynDwarf.so.10.2.1
/usr/lib/dyninst/libdynElf.so.10.2
/usr/lib/dyninst/libdynElf.so.10.2.1
/usr/lib/dyninst/libdyninstAPI.so.10.2
/usr/lib/dyninst/libdyninstAPI.so.10.2.1
/usr/lib/dyninst/libdyninstAPI_RT.so
/usr/lib/dyninst/libdyninstAPI_RT.so.10.2
/usr/lib/dyninst/libdyninstAPI_RT.so.10.2.1
/usr/lib/dyninst/libinstructionAPI.so.10.2
/usr/lib/dyninst/libinstructionAPI.so.10.2.1
/usr/lib/dyninst/libparseAPI.so.10.2
/usr/lib/dyninst/libparseAPI.so.10.2.1
/usr/lib/dyninst/libpatchAPI.so.10.2
/usr/lib/dyninst/libpatchAPI.so.10.2.1
/usr/lib/dyninst/libpcontrol.so.10.2
/usr/lib/dyninst/libpcontrol.so.10.2.1
/usr/lib/dyninst/libstackwalk.so.10.2
/usr/lib/dyninst/libstackwalk.so.10.2.1
/usr/lib/dyninst/libsymLite.so.10.2
/usr/lib/dyninst/libsymLite.so.10.2.1
/usr/lib/dyninst/libsymtabAPI.so.10.2
/usr/lib/dyninst/libsymtabAPI.so.10.2.1
/usr/share/doc/dyninst
/usr/share/doc/dyninst/COPYRIGHT
/usr/share/doc/dyninst/LICENSE.md
/etc/ld.so.conf.d/dyninst-x86_64.conf
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/f53a33ecb153189505d973807491488602a453
/usr/lib/.build-id/17
/usr/lib/.build-id/17/e1f669ddd168e439b93f5de4475b68e8ec2459
/usr/lib/.build-id/53
/usr/lib/.build-id/53/9e4e847a92842d75bed1f909c8d48fc66aaa21
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/222c2767886a8103b591b93cac7063ddd73c8b
/usr/lib/.build-id/92
/usr/lib/.build-id/92/9ba8b5359425a51d0fbf5cc71d96465258217b
/usr/lib/.build-id/97
/usr/lib/.build-id/97/06cbd7350452c32f13915363f0a4fb9fd3ab45
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/ddf2cbde0a4768995909e80d201b4e4c3ca4f1
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/ca2c972e86916cc845f59c25443362186e0f5f
/usr/lib/.build-id/da
/usr/lib/.build-id/da/3a2509ccf23ef34f0fe3d25f8fb8cf00def5cf
/usr/lib/.build-id/da/b11671be23e6b7c9883d5e47c8ab153eede836
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/b3c048dec8163a6b4ef1427da4e628b326c44c
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/a46aa5a5e931c9fe6ae4ba91dc6e2217a434e5
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/f723b55ae5b499e85a194cb6dae6f2c4ac0916
/usr/lib64/dyninst
/usr/lib64/dyninst/libcommon.so.10.2
/usr/lib64/dyninst/libcommon.so.10.2.1
/usr/lib64/dyninst/libdynC_API.so.10.2
/usr/lib64/dyninst/libdynC_API.so.10.2.1
/usr/lib64/dyninst/libdynDwarf.so.10.2
/usr/lib64/dyninst/libdynDwarf.so.10.2.1
/usr/lib64/dyninst/libdynElf.so.10.2
/usr/lib64/dyninst/libdynElf.so.10.2.1
/usr/lib64/dyninst/libdyninstAPI.so.10.2
/usr/lib64/dyninst/libdyninstAPI.so.10.2.1
/usr/lib64/dyninst/libdyninstAPI_RT.so
/usr/lib64/dyninst/libdyninstAPI_RT.so.10.2
/usr/lib64/dyninst/libdyninstAPI_RT.so.10.2.1
/usr/lib64/dyninst/libinstructionAPI.so.10.2
/usr/lib64/dyninst/libinstructionAPI.so.10.2.1
/usr/lib64/dyninst/libparseAPI.so.10.2
/usr/lib64/dyninst/libparseAPI.so.10.2.1
/usr/lib64/dyninst/libpatchAPI.so.10.2
/usr/lib64/dyninst/libpatchAPI.so.10.2.1
/usr/lib64/dyninst/libpcontrol.so.10.2
/usr/lib64/dyninst/libpcontrol.so.10.2.1
/usr/lib64/dyninst/libstackwalk.so.10.2
/usr/lib64/dyninst/libstackwalk.so.10.2.1
/usr/lib64/dyninst/libsymLite.so.10.2
/usr/lib64/dyninst/libsymLite.so.10.2.1
/usr/lib64/dyninst/libsymtabAPI.so.10.2
/usr/lib64/dyninst/libsymtabAPI.so.10.2.1
/usr/share/doc/dyninst
/usr/share/doc/dyninst/COPYRIGHT
/usr/share/doc/dyninst/LICENSE.md

References

Summary

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