How To Install lttng-ust-devel on Rocky Linux 8

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

Introduction

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

What is lttng-ust-devel

This library provides support for developing programs using LTTng user-space tracing

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

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

sudo dnf -y install lttng-ust-devel

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

sudo yum -y install lttng-ust-devel

How To Uninstall lttng-ust-devel on Rocky Linux 8

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

sudo dnf remove lttng-ust-devel

lttng-ust-devel Package Contents on Rocky Linux 8

/usr/bin/lttng-gen-tp
/usr/include/lttng
/usr/include/lttng/align.h
/usr/include/lttng/bug.h
/usr/include/lttng/lttng-ust-tracef.h
/usr/include/lttng/lttng-ust-tracelog.h
/usr/include/lttng/ringbuffer-abi.h
/usr/include/lttng/ringbuffer-config.h
/usr/include/lttng/tracef.h
/usr/include/lttng/tracelog.h
/usr/include/lttng/tracepoint-event.h
/usr/include/lttng/tracepoint-rcu.h
/usr/include/lttng/tracepoint-types.h
/usr/include/lttng/tracepoint.h
/usr/include/lttng/ust-abi.h
/usr/include/lttng/ust-clock.h
/usr/include/lttng/ust-compiler.h
/usr/include/lttng/ust-config.h
/usr/include/lttng/ust-ctl.h
/usr/include/lttng/ust-elf.h
/usr/include/lttng/ust-endian.h
/usr/include/lttng/ust-error.h
/usr/include/lttng/ust-events.h
/usr/include/lttng/ust-getcpu.h
/usr/include/lttng/ust-tracepoint-event-nowrite.h
/usr/include/lttng/ust-tracepoint-event-reset.h
/usr/include/lttng/ust-tracepoint-event-write.h
/usr/include/lttng/ust-tracepoint-event.h
/usr/include/lttng/ust-tracer.h
/usr/include/lttng/ust-version.h
/usr/include/lttng/ust.h
/usr/lib/liblttng-ust-ctl.so
/usr/lib/liblttng-ust-cyg-profile-fast.so
/usr/lib/liblttng-ust-cyg-profile.so
/usr/lib/liblttng-ust-dl.so
/usr/lib/liblttng-ust-fork.so
/usr/lib/liblttng-ust-libc-wrapper.so
/usr/lib/liblttng-ust-pthread-wrapper.so
/usr/lib/liblttng-ust-python-agent.so
/usr/lib/liblttng-ust-tracepoint.so
/usr/lib/liblttng-ust.so
/usr/lib/pkgconfig/lttng-ust.pc
/usr/share/doc/lttng-ust/examples
/usr/share/doc/lttng-ust/examples/README
/usr/share/doc/lttng-ust/examples/clock-override
/usr/share/doc/lttng-ust/examples/clock-override/Makefile
/usr/share/doc/lttng-ust/examples/clock-override/README
/usr/share/doc/lttng-ust/examples/clock-override/lttng-ust-clock-override-example.c
/usr/share/doc/lttng-ust/examples/clock-override/run-clock-override
/usr/share/doc/lttng-ust/examples/demo
/usr/share/doc/lttng-ust/examples/demo-tracef
/usr/share/doc/lttng-ust/examples/demo-tracef/Makefile
/usr/share/doc/lttng-ust/examples/demo-tracef/README
/usr/share/doc/lttng-ust/examples/demo-tracef/demo-tracef.c
/usr/share/doc/lttng-ust/examples/demo-tracelog
/usr/share/doc/lttng-ust/examples/demo-tracelog/Makefile
/usr/share/doc/lttng-ust/examples/demo-tracelog/README
/usr/share/doc/lttng-ust/examples/demo-tracelog/demo-tracelog.c
/usr/share/doc/lttng-ust/examples/demo/Makefile
/usr/share/doc/lttng-ust/examples/demo/README
/usr/share/doc/lttng-ust/examples/demo/demo-trace
/usr/share/doc/lttng-ust/examples/demo/demo.c
/usr/share/doc/lttng-ust/examples/demo/tp.c
/usr/share/doc/lttng-ust/examples/demo/tp2.c
/usr/share/doc/lttng-ust/examples/demo/tp3.c
/usr/share/doc/lttng-ust/examples/demo/ust_tests_demo.h
/usr/share/doc/lttng-ust/examples/demo/ust_tests_demo2.h
/usr/share/doc/lttng-ust/examples/demo/ust_tests_demo3.h
/usr/share/doc/lttng-ust/examples/easy-ust
/usr/share/doc/lttng-ust/examples/easy-ust/Makefile
/usr/share/doc/lttng-ust/examples/easy-ust/sample.c
/usr/share/doc/lttng-ust/examples/easy-ust/sample_component_provider.h
/usr/share/doc/lttng-ust/examples/easy-ust/tp.c
/usr/share/doc/lttng-ust/examples/gen-tp
/usr/share/doc/lttng-ust/examples/gen-tp/Makefile
/usr/share/doc/lttng-ust/examples/gen-tp/sample.c
/usr/share/doc/lttng-ust/examples/gen-tp/sample_tracepoint.tp
/usr/share/doc/lttng-ust/examples/getcpu-override
/usr/share/doc/lttng-ust/examples/getcpu-override/Makefile
/usr/share/doc/lttng-ust/examples/getcpu-override/README
/usr/share/doc/lttng-ust/examples/getcpu-override/lttng-ust-getcpu-override-example.c
/usr/share/doc/lttng-ust/examples/getcpu-override/run-getcpu-override
/usr/share/doc/lttng-ust/examples/hello-static-lib
/usr/share/doc/lttng-ust/examples/hello-static-lib/Makefile
/usr/share/doc/lttng-ust/examples/hello-static-lib/README
/usr/share/doc/lttng-ust/examples/hello-static-lib/hello.c
/usr/share/doc/lttng-ust/examples/hello-static-lib/tp.c
/usr/share/doc/lttng-ust/examples/hello-static-lib/ust_tests_hello.h
/usr/share/man/man1/lttng-gen-tp.1.gz
/usr/bin/lttng-gen-tp
/usr/include/lttng
/usr/include/lttng/align.h
/usr/include/lttng/bug.h
/usr/include/lttng/lttng-ust-tracef.h
/usr/include/lttng/lttng-ust-tracelog.h
/usr/include/lttng/ringbuffer-abi.h
/usr/include/lttng/ringbuffer-config.h
/usr/include/lttng/tracef.h
/usr/include/lttng/tracelog.h
/usr/include/lttng/tracepoint-event.h
/usr/include/lttng/tracepoint-rcu.h
/usr/include/lttng/tracepoint-types.h
/usr/include/lttng/tracepoint.h
/usr/include/lttng/ust-abi.h
/usr/include/lttng/ust-clock.h
/usr/include/lttng/ust-compiler.h
/usr/include/lttng/ust-config.h
/usr/include/lttng/ust-ctl.h
/usr/include/lttng/ust-elf.h
/usr/include/lttng/ust-endian.h
/usr/include/lttng/ust-error.h
/usr/include/lttng/ust-events.h
/usr/include/lttng/ust-getcpu.h
/usr/include/lttng/ust-tracepoint-event-nowrite.h
/usr/include/lttng/ust-tracepoint-event-reset.h
/usr/include/lttng/ust-tracepoint-event-write.h
/usr/include/lttng/ust-tracepoint-event.h
/usr/include/lttng/ust-tracer.h
/usr/include/lttng/ust-version.h
/usr/include/lttng/ust.h
/usr/lib64/liblttng-ust-ctl.so
/usr/lib64/liblttng-ust-cyg-profile-fast.so
/usr/lib64/liblttng-ust-cyg-profile.so
/usr/lib64/liblttng-ust-dl.so
/usr/lib64/liblttng-ust-fork.so
/usr/lib64/liblttng-ust-libc-wrapper.so
/usr/lib64/liblttng-ust-pthread-wrapper.so
/usr/lib64/liblttng-ust-python-agent.so
/usr/lib64/liblttng-ust-tracepoint.so
/usr/lib64/liblttng-ust.so
/usr/lib64/pkgconfig/lttng-ust.pc
/usr/share/doc/lttng-ust/examples
/usr/share/doc/lttng-ust/examples/README
/usr/share/doc/lttng-ust/examples/clock-override
/usr/share/doc/lttng-ust/examples/clock-override/Makefile
/usr/share/doc/lttng-ust/examples/clock-override/README
/usr/share/doc/lttng-ust/examples/clock-override/lttng-ust-clock-override-example.c
/usr/share/doc/lttng-ust/examples/clock-override/run-clock-override
/usr/share/doc/lttng-ust/examples/demo
/usr/share/doc/lttng-ust/examples/demo-tracef
/usr/share/doc/lttng-ust/examples/demo-tracef/Makefile
/usr/share/doc/lttng-ust/examples/demo-tracef/README
/usr/share/doc/lttng-ust/examples/demo-tracef/demo-tracef.c
/usr/share/doc/lttng-ust/examples/demo-tracelog
/usr/share/doc/lttng-ust/examples/demo-tracelog/Makefile
/usr/share/doc/lttng-ust/examples/demo-tracelog/README
/usr/share/doc/lttng-ust/examples/demo-tracelog/demo-tracelog.c
/usr/share/doc/lttng-ust/examples/demo/Makefile
/usr/share/doc/lttng-ust/examples/demo/README
/usr/share/doc/lttng-ust/examples/demo/demo-trace
/usr/share/doc/lttng-ust/examples/demo/demo.c
/usr/share/doc/lttng-ust/examples/demo/tp.c
/usr/share/doc/lttng-ust/examples/demo/tp2.c
/usr/share/doc/lttng-ust/examples/demo/tp3.c
/usr/share/doc/lttng-ust/examples/demo/ust_tests_demo.h
/usr/share/doc/lttng-ust/examples/demo/ust_tests_demo2.h
/usr/share/doc/lttng-ust/examples/demo/ust_tests_demo3.h
/usr/share/doc/lttng-ust/examples/easy-ust
/usr/share/doc/lttng-ust/examples/easy-ust/Makefile
/usr/share/doc/lttng-ust/examples/easy-ust/sample.c
/usr/share/doc/lttng-ust/examples/easy-ust/sample_component_provider.h
/usr/share/doc/lttng-ust/examples/easy-ust/tp.c
/usr/share/doc/lttng-ust/examples/gen-tp
/usr/share/doc/lttng-ust/examples/gen-tp/Makefile
/usr/share/doc/lttng-ust/examples/gen-tp/sample.c
/usr/share/doc/lttng-ust/examples/gen-tp/sample_tracepoint.tp
/usr/share/doc/lttng-ust/examples/getcpu-override
/usr/share/doc/lttng-ust/examples/getcpu-override/Makefile
/usr/share/doc/lttng-ust/examples/getcpu-override/README
/usr/share/doc/lttng-ust/examples/getcpu-override/lttng-ust-getcpu-override-example.c
/usr/share/doc/lttng-ust/examples/getcpu-override/run-getcpu-override
/usr/share/doc/lttng-ust/examples/hello-static-lib
/usr/share/doc/lttng-ust/examples/hello-static-lib/Makefile
/usr/share/doc/lttng-ust/examples/hello-static-lib/README
/usr/share/doc/lttng-ust/examples/hello-static-lib/hello.c
/usr/share/doc/lttng-ust/examples/hello-static-lib/tp.c
/usr/share/doc/lttng-ust/examples/hello-static-lib/ust_tests_hello.h
/usr/share/man/man1/lttng-gen-tp.1.gz

References

Summary

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