How To Install systemtap-runtime-virtguest.x86_64 on Amazon Linux 2

In this tutorial we learn how to install systemtap-runtime-virtguest.x86_64 in Amazon Linux 2. systemtap-runtime-virtguest.x86_64 is Systemtap Cross-VM Instrumentation - guest

Introduction

In this tutorial we learn how to install systemtap-runtime-virtguest.x86_64 on Amazon Linux 2.

What is systemtap-runtime-virtguest.x86_64

This package installs the services necessary on a virtual machine for a systemtap-runtime-virthost machine to execute systemtap scripts.

We can use yum to install systemtap-runtime-virtguest.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-runtime-virtguest.x86_64.

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

sudo yum -y install systemtap-runtime-virtguest.x86_64

How To Uninstall systemtap-runtime-virtguest.x86_64 on Amazon Linux 2

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

sudo yum remove systemtap-runtime-virtguest.x86_64

systemtap-runtime-virtguest.x86_64 Package Contents on Amazon Linux 2

/usr/lib/systemd/system/[email protected]
/usr/lib/udev/rules.d/99-stapsh.rules

References

Summary

In this tutorial we learn how to install systemtap-runtime-virtguest.x86_64 on Amazon Linux 2 using yum.