How To Install lttng-ust on CentOS 8
Introduction
In this tutorial we learn how to install lttng-ust
on CentOS 8.
What is lttng-ust
This library may be used by user-space applications to generate trace-points using LTTng. lttng-ust 2.8.1 11.el8 x86_64 259 k lttng-ust-2.8.1-11.el8.src.rpm appstream LTTng Userspace Tracer library https LGPLv2 and GPLv2 and MIT 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 CentOS 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 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 lttng-ust
using dnf
by running the following command:
sudo dnf -y install lttng-ust
Install lttng-ust 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 lttng-ust
using yum
by running the following command:
sudo yum -y install lttng-ust
How To Uninstall lttng-ust on CentOS 8
To uninstall only the lttng-ust
package we can use the following command:
sudo dnf remove lttng-ust
lttng-ust Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/32
/usr/lib/.build-id/32/ed0068a8429ea591ab231439812ce95ce3eedc
/usr/lib/.build-id/43
/usr/lib/.build-id/43/8d120cf695a4fc728a0dd6c88fbf2c93298492
/usr/lib/.build-id/49
/usr/lib/.build-id/49/66d8a5c8a9946cb102698fef03562c3486e0a8
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/3a5007cdd90ee3bcf354aa0436bfcfe09edf32
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/41313a06ceaf5ecf8de25fb925ad3f6e4a49ec
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/dd36f0dfbeb2c597c73aeb2ad52924ca641a8d
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/4128295740d96abbd3b2bbc277bebecb7a33ed
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/3513d5b02e2e412a8f71d9fffba2400c0ac002
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/5ff778f9d040420c2250af80414f84ae27df98
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/d1eb2f84618c36ad433397f36433d0c8070c70
/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
/usr/lib/.build-id
/usr/lib/.build-id/73
/usr/lib/.build-id/73/e79ee16e8d16aef73043e4b461cd37d070026b
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/c7855dc2f4f4d2d8b13e7f4e39d67e6d180556
/usr/lib/.build-id/82
/usr/lib/.build-id/82/a029b670d029b07b4b3ee7407f5364669b5955
/usr/lib/.build-id/93
/usr/lib/.build-id/93/ef597ce586e42c74593d6489271f3b4d0a6107
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/7d96278303fe3dc2703986749b3c07d8879f89
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/e597583f9a45da66db6d2334f8ff8a9a66870d
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/b8457e330b1d5d587407f3b7f39f693eacb4eb
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/ba01cff7f56f706344b565d2b0cc2af1b68200
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/08aa58dbea4819865582e88d216738c495f08d
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/334c385c3f7f555f78b5a5c2709389143341bc
/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
References
- [lttng-ust website](https://lttng.org https://lttng.org)
Summary
In this tutorial we learn how to install lttng-ust
on CentOS 8 using yum and dnf.