How To Install perl-GTop on Rocky Linux 8

In this tutorial we learn how to install perl-GTop on Rocky Linux 8. perl-GTop is Perl interface to libgtop

Introduction

In this tutorial we learn how to install perl-GTop on Rocky Linux 8.

What is perl-GTop

This is a perl interface to the libgtop library, useful for collecting real-time performance and other system statistics.

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

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

sudo dnf -y install perl-GTop

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

sudo yum -y install perl-GTop

How To Uninstall perl-GTop on Rocky Linux 8

To uninstall only the perl-GTop package we can use the following command:

sudo dnf remove perl-GTop

perl-GTop Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/ed703e0bc8105065007d6a18d1468ca3722e73
/usr/lib64/perl5/vendor_perl/GTop.pm
/usr/lib64/perl5/vendor_perl/GTop.pod
/usr/lib64/perl5/vendor_perl/auto/GTop
/usr/lib64/perl5/vendor_perl/auto/GTop/GTop.so
/usr/share/doc/perl-GTop
/usr/share/doc/perl-GTop/Changes
/usr/share/doc/perl-GTop/README
/usr/share/doc/perl-GTop/TODO
/usr/share/doc/perl-GTop/examples
/usr/share/doc/perl-GTop/examples/mountlist
/usr/share/doc/perl-GTop/examples/perlbloat.pl
/usr/share/doc/perl-GTop/examples/proclist
/usr/share/doc/perl-GTop/examples/procmap
/usr/share/doc/perl-GTop/examples/server
/usr/share/doc/perl-GTop/examples/server.conf
/usr/share/doc/perl-GTop/t
/usr/share/doc/perl-GTop/t/basic.t
/usr/share/doc/perl-GTop/t/threads.t
/usr/share/man/man3/GTop.3pm.gz

References

Summary

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