How To Install libstatgrab on Fedora 34
Introduction
In this tutorial we learn how to install libstatgrab
on Fedora 34.
What is libstatgrab
Libstatgrab is a library that provides cross platform access to statistics about the system on which it’s running. It’s written in C and presents a selection of useful interfaces which can be used to access key system statistics. The current list of statistics includes CPU usage, memory utilisation, disk usage, process counts, network traffic, disk I/O, and more. The current list of supported and tested platforms includes FreeBSD, Linux, NetBSD, OpenBSD, Solaris, DragonFly BSD, HP-UX and AIX. libstatgrab 1 0.92 7.fc34 x86_64 59 k libstatgrab-0.92-7.fc34.src.rpm fedora A library that provides cross platform access to statistics of the system http LGPLv2+ Libstatgrab is a library that provides cross platform access to statistics about the system on which it’s running. It’s written in C and presents a selection of useful interfaces which can be used to access key system statistics. The current list of statistics includes CPU usage, memory utilisation, disk usage, process counts, network traffic, disk I/O, and more. The current list of supported and tested platforms includes FreeBSD, Linux, NetBSD, OpenBSD, Solaris, DragonFly BSD, HP-UX and AIX.
We can use yum
or dnf
to install libstatgrab
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libstatgrab.
Install libstatgrab 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 libstatgrab
using dnf
by running the following command:
sudo dnf -y install libstatgrab
Install libstatgrab 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 libstatgrab
using yum
by running the following command:
sudo yum -y install libstatgrab
How To Uninstall libstatgrab on Fedora 34
To uninstall only the libstatgrab
package we can use the following command:
sudo dnf remove libstatgrab
libstatgrab Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/94ba4f42ab6409da7bbcb60254ac0924bbd6ec
/usr/lib64/libstatgrab.so.10
/usr/lib64/libstatgrab.so.10.0.1
/usr/share/licenses/libstatgrab
/usr/share/licenses/libstatgrab/COPYING.LGPL
/usr/lib/.build-id
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/fe502f59860b3fc530ff535cdde0cc8bd3e683
/usr/lib/libstatgrab.so.10
/usr/lib/libstatgrab.so.10.0.1
/usr/share/licenses/libstatgrab
/usr/share/licenses/libstatgrab/COPYING.LGPL
References
- [libstatgrab website](http://www.i-scream.org/libstatgrab http://www.i-scream.org/libstatgrab)
Summary
In this tutorial we learn how to install libstatgrab
on Fedora 34 using yum and dnf.