How To Install systemtap-runtime on Rocky Linux 8

In this tutorial we learn how to install systemtap-runtime on Rocky Linux 8. systemtap-runtime is Programmable system-wide instrumentation system - runtime

Introduction

In this tutorial we learn how to install systemtap-runtime on Rocky Linux 8.

What is systemtap-runtime

SystemTap runtime contains the components needed to execute a systemtap script that was already compiled into a module using a local or remote systemtap-devel installation.

We can use yum or dnf to install systemtap-runtime on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install systemtap-runtime.

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

sudo dnf -y install systemtap-runtime

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

sudo yum -y install systemtap-runtime

How To Uninstall systemtap-runtime on Rocky Linux 8

To uninstall only the systemtap-runtime package we can use the following command:

sudo dnf remove systemtap-runtime

systemtap-runtime Package Contents on Rocky Linux 8

/usr/bin/stap-merge
/usr/bin/stap-report
/usr/bin/stapbpf
/usr/bin/stapdyn
/usr/bin/staprun
/usr/bin/stapsh
/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/296a8c94c3e576c3e16c0194775d3dcc7befd4
/usr/lib/.build-id/27
/usr/lib/.build-id/27/08643fbf78cfbb42f6ce5275979fe4b0d53c77
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/b1e535d05db781de3e65e2713233044793116a
/usr/lib/.build-id/77
/usr/lib/.build-id/77/dfcc8926013157862f5d2a02b9c24f51f1b376
/usr/lib/.build-id/80
/usr/lib/.build-id/80/cea78c977f983cdc9cf77613251982bdc39eb2
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/2842e2aaa3ee0a95abaf6e04ffd2135aabf5f3
/usr/lib/.build-id/b1/43bb2c14fd252ac661ca3638c70614111ca44b
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/d0ce845885b9d15e76b3f21381526a50417fde
/usr/lib64/systemtap
/usr/lib64/systemtap/staplog.so
/usr/libexec/systemtap
/usr/libexec/systemtap/stap-authorize-cert
/usr/libexec/systemtap/stapio
/usr/share/doc/systemtap-runtime
/usr/share/doc/systemtap-runtime/AUTHORS
/usr/share/doc/systemtap-runtime/NEWS
/usr/share/doc/systemtap-runtime/README
/usr/share/doc/systemtap-runtime/README.security
/usr/share/licenses/systemtap-runtime
/usr/share/licenses/systemtap-runtime/COPYING
/usr/share/locale/cs/LC_MESSAGES/systemtap.mo
/usr/share/locale/en/LC_MESSAGES/systemtap.mo
/usr/share/locale/fr/LC_MESSAGES/systemtap.mo
/usr/share/locale/pl/LC_MESSAGES/systemtap.mo
/usr/share/man/cs/man1/dtrace.1.gz
/usr/share/man/cs/man1/stap-merge.1.gz
/usr/share/man/cs/man1/stap-prep.1.gz
/usr/share/man/cs/man1/stap-report.1.gz
/usr/share/man/cs/man1/stap.1.gz
/usr/share/man/cs/man1/stapref.1.gz
/usr/share/man/cs/man1/stapvirt.1.gz
/usr/share/man/cs/man3/stapex.3stap.gz
/usr/share/man/cs/man3/stapfuncs.3stap.gz
/usr/share/man/cs/man3/stapprobes.3stap.gz
/usr/share/man/cs/man3/stapvars.3stap.gz
/usr/share/man/cs/man7/error::dwarf.7stap.gz
/usr/share/man/cs/man7/error::fault.7stap.gz
/usr/share/man/cs/man7/error::inode-uprobes.7stap.gz
/usr/share/man/cs/man7/error::pass1.7stap.gz
/usr/share/man/cs/man7/error::pass2.7stap.gz
/usr/share/man/cs/man7/error::pass3.7stap.gz
/usr/share/man/cs/man7/error::pass4.7stap.gz
/usr/share/man/cs/man7/error::pass5.7stap.gz
/usr/share/man/cs/man7/error::process-tracking.7stap.gz
/usr/share/man/cs/man7/error::reporting.7stap.gz
/usr/share/man/cs/man7/error::sdt.7stap.gz
/usr/share/man/cs/man7/stappaths.7.gz
/usr/share/man/cs/man7/warning::buildid.7stap.gz
/usr/share/man/cs/man7/warning::debuginfo.7stap.gz
/usr/share/man/cs/man7/warning::symbols.7stap.gz
/usr/share/man/cs/man8/stap-server.8.gz
/usr/share/man/cs/man8/stapsh.8.gz
/usr/share/man/cs/man8/systemtap.8.gz
/usr/share/man/man1/stap-report.1.gz
/usr/share/man/man7/error::dwarf.7stap.gz
/usr/share/man/man7/error::fault.7stap.gz
/usr/share/man/man7/error::inode-uprobes.7stap.gz
/usr/share/man/man7/error::pass1.7stap.gz
/usr/share/man/man7/error::pass2.7stap.gz
/usr/share/man/man7/error::pass3.7stap.gz
/usr/share/man/man7/error::pass4.7stap.gz
/usr/share/man/man7/error::pass5.7stap.gz
/usr/share/man/man7/error::process-tracking.7stap.gz
/usr/share/man/man7/error::reporting.7stap.gz
/usr/share/man/man7/error::sdt.7stap.gz
/usr/share/man/man7/stappaths.7.gz
/usr/share/man/man7/warning::buildid.7stap.gz
/usr/share/man/man7/warning::debuginfo.7stap.gz
/usr/share/man/man7/warning::symbols.7stap.gz
/usr/share/man/man8/stapbpf.8.gz
/usr/share/man/man8/stapdyn.8.gz
/usr/share/man/man8/staprun.8.gz
/usr/share/man/man8/stapsh.8.gz

References

Summary

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