How To Install systemtap-runtime on CentOS 8
Introduction
In this tutorial we learn how to install systemtap-runtime
on CentOS 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 CentOS 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 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 systemtap-runtime
using dnf
by running the following command:
sudo dnf -y install systemtap-runtime
Install systemtap-runtime 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 systemtap-runtime
using yum
by running the following command:
sudo yum -y install systemtap-runtime
How To Uninstall systemtap-runtime on CentOS 8
To uninstall only the systemtap-runtime
package we can use the following command:
sudo dnf remove systemtap-runtime
systemtap-runtime Package Contents on CentOS 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/3c
/usr/lib/.build-id/3c/90208398581e131c21b78ab77a178987ac7b38
/usr/lib/.build-id/43
/usr/lib/.build-id/43/f2ac2be1c840d8fff5853f3220f3ec9ab6761e
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/144d3d7bb7a76d2bebb84b9faf87b33090b8f8
/usr/lib/.build-id/78
/usr/lib/.build-id/78/c1f1ef6e95ade6272c2e712b9f5f3180ffef3c
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/953b781f475b4875d9b207379a4e09df045c06
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/8c13715cda0e78fdaabca682e2f00f75d67a2b
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/49db2f560b33e5b76869b13065bc515a5395ff
/usr/lib/.build-id/bf/185beb76132d0bc0749f20304088d12762fa95
/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 CentOS 8 using yum and dnf.