How To Install latencytop on Fedora 34

latencytop is System latency monitor (with GUI)

Introduction

In this tutorial we learn how to install latencytop on Fedora 34.

What is latencytop

LatencyTOP is a tool for software developers (both kernel and userspace), aimed at identifying where in the system latency is happening, and what kind of operation/action is causing the latency to happen so that the code can be changed to avoid the worst latency hiccups. This package contains a build of LatencyTOP with GUI interface. For a build without GUI install latencytop-tui instead.

We can use yum or dnf to install latencytop on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install latencytop.

Install latencytop on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install latencytop using dnf by running the following command:

sudo dnf -y install latencytop

Install latencytop on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install latencytop using yum by running the following command:

sudo yum -y install latencytop

How To Uninstall latencytop on Fedora 34

To uninstall only the latencytop package we can use the following command:

sudo dnf remove latencytop

latencytop Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/88e9ab2eeaa31716af495e9c343bf24fc004bf
/usr/sbin/latencytop

References

Summary

In this tutorial we learn how to install latencytop on Fedora 34 using yum and dnf.