How To Install lttng-ust on Rocky Linux 8

In this tutorial we learn how to install lttng-ust on Rocky Linux 8. lttng-ust is LTTng Userspace Tracer library

Introduction

In this tutorial we learn how to install lttng-ust on Rocky Linux 8.

What is lttng-ust

This library may be used by user-space applications to generate trace-points using LTTng.

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

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

sudo dnf -y install lttng-ust

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

sudo yum -y install lttng-ust

How To Uninstall lttng-ust on Rocky Linux 8

To uninstall only the lttng-ust package we can use the following command:

sudo dnf remove lttng-ust

lttng-ust Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/9f1f45b5e95d1a343e06fc13f8d4e5580b64be
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/8ff8be8e18d8957a7211cdadd4524cf2398466
/usr/lib/.build-id/22
/usr/lib/.build-id/22/14eafb090d1f67738036e1c80291a1818ef1f2
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/abd89c64c9621487b2c4b34f36c21efdfbe628
/usr/lib/.build-id/75
/usr/lib/.build-id/75/14bb8401709510a560623cb10235d7f807d11d
/usr/lib/.build-id/79
/usr/lib/.build-id/79/beb721b25d4f979c5f981ec8d5b36baa0e29c3
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/9f1969b2ab1b4a1e13956f996c986efddd0428
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/d0b2e84230a48b436d3a6f8f78435137a473d4
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/6b3ce448834539e2f061721bca3d1e784c995b
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/2dd24430b242498377e24495be71275b7d6f12
/usr/lib64/liblttng-ust-ctl.so.2
/usr/lib64/liblttng-ust-ctl.so.2.0.0
/usr/lib64/liblttng-ust-cyg-profile-fast.so.0
/usr/lib64/liblttng-ust-cyg-profile-fast.so.0.0.0
/usr/lib64/liblttng-ust-cyg-profile.so.0
/usr/lib64/liblttng-ust-cyg-profile.so.0.0.0
/usr/lib64/liblttng-ust-dl.so.0
/usr/lib64/liblttng-ust-dl.so.0.0.0
/usr/lib64/liblttng-ust-fork.so.0
/usr/lib64/liblttng-ust-fork.so.0.0.0
/usr/lib64/liblttng-ust-libc-wrapper.so.0
/usr/lib64/liblttng-ust-libc-wrapper.so.0.0.0
/usr/lib64/liblttng-ust-pthread-wrapper.so.0
/usr/lib64/liblttng-ust-pthread-wrapper.so.0.0.0
/usr/lib64/liblttng-ust-python-agent.so.0
/usr/lib64/liblttng-ust-python-agent.so.0.0.0
/usr/lib64/liblttng-ust-tracepoint.so.0
/usr/lib64/liblttng-ust-tracepoint.so.0.0.0
/usr/lib64/liblttng-ust.so.0
/usr/lib64/liblttng-ust.so.0.0.0
/usr/share/doc/lttng-ust
/usr/share/doc/lttng-ust/ChangeLog
/usr/share/doc/lttng-ust/README.md
/usr/share/doc/lttng-ust/java-agent.txt
/usr/share/man/man3/do_tracepoint.3.gz
/usr/share/man/man3/lttng-ust-cyg-profile.3.gz
/usr/share/man/man3/lttng-ust-dl.3.gz
/usr/share/man/man3/lttng-ust.3.gz
/usr/share/man/man3/tracef.3.gz
/usr/share/man/man3/tracelog.3.gz
/usr/share/man/man3/tracepoint.3.gz
/usr/share/man/man3/tracepoint_enabled.3.gz
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/dd600b0f46f4aa1b52348a4d51a8b70e4c455c
/usr/lib/.build-id/45
/usr/lib/.build-id/45/e98402acf7f9400aef8901d861cea9cc03d4d2
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/33e94b1e9c18f42612fc68b3729aeefaf4446c
/usr/lib/.build-id/69
/usr/lib/.build-id/69/63eab5be47488f5e3471bd9ca7a88b1210f7f1
/usr/lib/.build-id/84
/usr/lib/.build-id/84/337223ddbb5799393d793ec9d811ee2f26e0c2
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/d828deffa9fc3ab18b035e8326e82df531474f
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/8d7c92de74cf50f72e6192447ba58f8e24816b
/usr/lib/.build-id/af
/usr/lib/.build-id/af/d4a7fbd56d0f1ef86d420aa48b345d2026e1d1
/usr/lib/.build-id/da
/usr/lib/.build-id/da/5d43e69b377147add10bc3e03df059005a8e47
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/c4e950b528a603dc1eea1d24efcc0f29807cc4
/usr/lib/liblttng-ust-ctl.so.2
/usr/lib/liblttng-ust-ctl.so.2.0.0
/usr/lib/liblttng-ust-cyg-profile-fast.so.0
/usr/lib/liblttng-ust-cyg-profile-fast.so.0.0.0
/usr/lib/liblttng-ust-cyg-profile.so.0
/usr/lib/liblttng-ust-cyg-profile.so.0.0.0
/usr/lib/liblttng-ust-dl.so.0
/usr/lib/liblttng-ust-dl.so.0.0.0
/usr/lib/liblttng-ust-fork.so.0
/usr/lib/liblttng-ust-fork.so.0.0.0
/usr/lib/liblttng-ust-libc-wrapper.so.0
/usr/lib/liblttng-ust-libc-wrapper.so.0.0.0
/usr/lib/liblttng-ust-pthread-wrapper.so.0
/usr/lib/liblttng-ust-pthread-wrapper.so.0.0.0
/usr/lib/liblttng-ust-python-agent.so.0
/usr/lib/liblttng-ust-python-agent.so.0.0.0
/usr/lib/liblttng-ust-tracepoint.so.0
/usr/lib/liblttng-ust-tracepoint.so.0.0.0
/usr/lib/liblttng-ust.so.0
/usr/lib/liblttng-ust.so.0.0.0
/usr/share/doc/lttng-ust
/usr/share/doc/lttng-ust/ChangeLog
/usr/share/doc/lttng-ust/README.md
/usr/share/doc/lttng-ust/java-agent.txt
/usr/share/man/man3/do_tracepoint.3.gz
/usr/share/man/man3/lttng-ust-cyg-profile.3.gz
/usr/share/man/man3/lttng-ust-dl.3.gz
/usr/share/man/man3/lttng-ust.3.gz
/usr/share/man/man3/tracef.3.gz
/usr/share/man/man3/tracelog.3.gz
/usr/share/man/man3/tracepoint.3.gz
/usr/share/man/man3/tracepoint_enabled.3.gz

References

Summary

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