How To Install ganglia on CentOS 8
Introduction
In this tutorial we learn how to install ganglia
on CentOS 8.
What is ganglia
Ganglia is a scalable, real-time monitoring and execution environment with all execution requests and statistics expressed in an open well-defined XML format.
We can use yum
or dnf
to install ganglia
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install ganglia.
Install ganglia 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 ganglia
using dnf
by running the following command:
sudo dnf -y install ganglia
Install ganglia 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 ganglia
using yum
by running the following command:
sudo yum -y install ganglia
How To Uninstall ganglia on CentOS 8
To uninstall only the ganglia
package we can use the following command:
sudo dnf remove ganglia
ganglia Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/378ac3a98d1d04410c1049d717a35b41275263
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/b2d38d4b016025b7bca631f0584467a6498d6d
/usr/lib/.build-id/30
/usr/lib/.build-id/30/506bf0cb90eec0dd0df3b3c84056f1644c5099
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/0b77b69efcfad23b58b61576feb000f570b379
/usr/lib/.build-id/59
/usr/lib/.build-id/59/78cfd92d16f6eb5fa72f3ae57fafc5b0152d39
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/4665a9969d99ff5c4197afc22689933c5a458f
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/a8e0facb11d4832b4b242bc8343a641e37dd92
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/b7f39f0937923f4aa857998051b314b63aece5
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/555d944bbfef52dcffc82a8c2a3bfef56674a3
/usr/lib64/ganglia
/usr/lib64/ganglia/modcpu.so
/usr/lib64/ganglia/moddisk.so
/usr/lib64/ganglia/modload.so
/usr/lib64/ganglia/modmem.so
/usr/lib64/ganglia/modmulticpu.so
/usr/lib64/ganglia/modnet.so
/usr/lib64/ganglia/modproc.so
/usr/lib64/ganglia/modsys.so
/usr/lib64/libganglia.so.0
/usr/lib64/libganglia.so.0.0.0
/usr/share/doc/ganglia
/usr/share/doc/ganglia/AUTHORS
/usr/share/doc/ganglia/ChangeLog
/usr/share/doc/ganglia/NEWS
/usr/share/doc/ganglia/README
/usr/share/licenses/ganglia
/usr/share/licenses/ganglia/COPYING
References
Summary
In this tutorial we learn how to install ganglia
on CentOS 8 using yum and dnf.