How To Install systemtap-sdt-devel.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install systemtap-sdt-devel.x86_64
on Amazon Linux 2.
What is systemtap-sdt-devel.x86_64
This package includes the <sys/sdt.h> header file used for static instrumentation compiled into userspace programs and libraries, along with the optional dtrace-compatibility preprocessor to process related .d files into tracing-macro-laden .h headers.
We can use yum
to install systemtap-sdt-devel.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install systemtap-sdt-devel.x86_64.
Install systemtap-sdt-devel.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install systemtap-sdt-devel.x86_64
using yum
by running the following command:
sudo yum -y install systemtap-sdt-devel.x86_64
How To Uninstall systemtap-sdt-devel.x86_64 on Amazon Linux 2
To uninstall only the systemtap-sdt-devel.x86_64
package we can use the following command:
sudo yum remove systemtap-sdt-devel.x86_64
systemtap-sdt-devel.x86_64 Package Contents on Amazon Linux 2
/usr/bin/dtrace
/usr/include/sys/sdt-config.h
/usr/include/sys/sdt.h
/usr/lib/rpm/macros.d/macros.systemtap
/usr/share/doc/systemtap-sdt-devel-4.4
/usr/share/doc/systemtap-sdt-devel-4.4/AUTHORS
/usr/share/doc/systemtap-sdt-devel-4.4/NEWS
/usr/share/doc/systemtap-sdt-devel-4.4/README
/usr/share/licenses/systemtap-sdt-devel-4.4
/usr/share/licenses/systemtap-sdt-devel-4.4/COPYING
/usr/share/man/man1/dtrace.1.gz
References
Summary
In this tutorial we learn how to install systemtap-sdt-devel.x86_64
on Amazon Linux 2 using yum.