How To Install userspace-rcu on CentOS 8
Introduction
In this tutorial we learn how to install userspace-rcu
on CentOS 8.
What is userspace-rcu
This data synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data structure accesses to detect grace periods after which memory reclamation is possible. userspace-rcu 0.10.1 4.el8 x86_64 101 k userspace-rcu-0.10.1-4.el8.src.rpm baseos RCU (read-copy-update) implementation in user-space http LGPLv2+ This data synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data structure accesses to detect grace periods after which memory reclamation is possible.
We can use yum
or dnf
to install userspace-rcu
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install userspace-rcu.
Install userspace-rcu 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 userspace-rcu
using dnf
by running the following command:
sudo dnf -y install userspace-rcu
Install userspace-rcu 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 userspace-rcu
using yum
by running the following command:
sudo yum -y install userspace-rcu
How To Uninstall userspace-rcu on CentOS 8
To uninstall only the userspace-rcu
package we can use the following command:
sudo dnf remove userspace-rcu
userspace-rcu Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/90ba285847cff37b84da67c10b2974ba0860f1
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/2884903656e622c6b946751f8db033e480fffc
/usr/lib/.build-id/38
/usr/lib/.build-id/38/3e6e12a81aa750589633f972101395b4e9328a
/usr/lib/.build-id/49
/usr/lib/.build-id/49/8426140eed5f50793e1338d1199d8bc2060ef0
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/cecfacf7ca2aad3a62399efaa1bd84f286c32f
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/77e9d91a45488b889190d3e4555c3beb8dd9e1
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/b791efa95fb74228f9ea222e44ff590507a4df
/usr/lib64/liburcu-bp.so.6
/usr/lib64/liburcu-bp.so.6.0.0
/usr/lib64/liburcu-cds.so.6
/usr/lib64/liburcu-cds.so.6.0.0
/usr/lib64/liburcu-common.so.6
/usr/lib64/liburcu-common.so.6.0.0
/usr/lib64/liburcu-mb.so.6
/usr/lib64/liburcu-mb.so.6.0.0
/usr/lib64/liburcu-qsbr.so.6
/usr/lib64/liburcu-qsbr.so.6.0.0
/usr/lib64/liburcu-signal.so.6
/usr/lib64/liburcu-signal.so.6.0.0
/usr/lib64/liburcu.so.6
/usr/lib64/liburcu.so.6.0.0
/usr/share/doc/userspace-rcu
/usr/share/doc/userspace-rcu/ChangeLog
/usr/share/doc/userspace-rcu/LICENSE
/usr/share/doc/userspace-rcu/README.md
/usr/share/doc/userspace-rcu/gpl-2.0.txt
/usr/share/doc/userspace-rcu/lgpl-2.1.txt
/usr/share/doc/userspace-rcu/lgpl-relicensing.txt
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/a4f45f78c7004925d9c74271da3a68d2a7e2c2
/usr/lib/.build-id/42
/usr/lib/.build-id/42/7aac54cd4a141c536c98270670b0ca1ba8f9fb
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/5f3ee23d85c4450b64d36b5312c9a61ac10284
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/40d0705fd2ced9e9da4d693a844d022fc75e25
/usr/lib/.build-id/82
/usr/lib/.build-id/82/7f5fa7498ac4e0aa62b56e6a02fd921af0754b
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/91568ff5d6027859e396b39b0c90d8554c7fab
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/d0bd0aac121a60e03c080cbf2cf9e8c8e3ed6b
/usr/lib/liburcu-bp.so.6
/usr/lib/liburcu-bp.so.6.0.0
/usr/lib/liburcu-cds.so.6
/usr/lib/liburcu-cds.so.6.0.0
/usr/lib/liburcu-common.so.6
/usr/lib/liburcu-common.so.6.0.0
/usr/lib/liburcu-mb.so.6
/usr/lib/liburcu-mb.so.6.0.0
/usr/lib/liburcu-qsbr.so.6
/usr/lib/liburcu-qsbr.so.6.0.0
/usr/lib/liburcu-signal.so.6
/usr/lib/liburcu-signal.so.6.0.0
/usr/lib/liburcu.so.6
/usr/lib/liburcu.so.6.0.0
/usr/share/doc/userspace-rcu
/usr/share/doc/userspace-rcu/ChangeLog
/usr/share/doc/userspace-rcu/LICENSE
/usr/share/doc/userspace-rcu/README.md
/usr/share/doc/userspace-rcu/gpl-2.0.txt
/usr/share/doc/userspace-rcu/lgpl-2.1.txt
/usr/share/doc/userspace-rcu/lgpl-relicensing.txt
References
- [userspace-rcu website](http://liburcu.org http://liburcu.org)
Summary
In this tutorial we learn how to install userspace-rcu
on CentOS 8 using yum and dnf.