How To Install libcgroup on Fedora 34
Introduction
In this tutorial we learn how to install libcgroup
on Fedora 34.
What is libcgroup
Control groups infrastructure. The library helps manipulate, control, administrate and monitor control groups and the associated controllers. libcgroup 0.42.2 4.fc34 x86_64 66 k libcgroup-0.42.2-4.fc34.src.rpm fedora Library to control and monitor control groups http LGPLv2+ Control groups infrastructure. The library helps manipulate, control, administrate and monitor control groups and the associated controllers.
We can use yum
or dnf
to install libcgroup
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libcgroup.
Install libcgroup 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 libcgroup
using dnf
by running the following command:
sudo dnf -y install libcgroup
Install libcgroup 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 libcgroup
using yum
by running the following command:
sudo yum -y install libcgroup
How To Uninstall libcgroup on Fedora 34
To uninstall only the libcgroup
package we can use the following command:
sudo dnf remove libcgroup
libcgroup Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/0311a3a66576b5095114dd76adbb30139a1d40
/usr/lib/libcgroup.so.1
/usr/lib/libcgroup.so.1.0.42
/usr/share/doc/libcgroup
/usr/share/doc/libcgroup/README
/usr/share/licenses/libcgroup
/usr/share/licenses/libcgroup/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/95eb379726d9423dfe7cef9665e16af6816b8a
/usr/lib64/libcgroup.so.1
/usr/lib64/libcgroup.so.1.0.42
/usr/share/doc/libcgroup
/usr/share/doc/libcgroup/README
/usr/share/licenses/libcgroup
/usr/share/licenses/libcgroup/COPYING
References
- [libcgroup website](http://libcg.sourceforge.net/ http://libcg.sourceforge.net/)
Summary
In this tutorial we learn how to install libcgroup
on Fedora 34 using yum and dnf.