How To Install latencytop-common on CentOS 7

In this tutorial we learn how to install latencytop-common on CentOS 7. latencytop-common is System latency monitor (shared files for both GUI and TUI builds)

Introduction

In this tutorial we learn how to install latencytop-common on CentOS 7.

What is latencytop-common

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 files needed by both the GUI and TUI builds of LatencyTOP.

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

Install latencytop-common on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install latencytop-common

Install latencytop-common on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install latencytop-common

How To Uninstall latencytop-common on CentOS 7

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

sudo dnf remove latencytop-common

References

Summary

In this tutorial we learn how to install latencytop-common on CentOS 7 using yum and dnf.