How To Install userspace-rcu on Rocky Linux 8
Introduction
In this tutorial we learn how to install userspace-rcu
on Rocky Linux 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.
We can use yum
or dnf
to install userspace-rcu
on Rocky Linux 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 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 userspace-rcu
using dnf
by running the following command:
sudo dnf -y install userspace-rcu
Install userspace-rcu 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 userspace-rcu
using yum
by running the following command:
sudo yum -y install userspace-rcu
How To Uninstall userspace-rcu on Rocky Linux 8
To uninstall only the userspace-rcu
package we can use the following command:
sudo dnf remove userspace-rcu
userspace-rcu Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/ec7b7722406fcaf9561baffc84b17fcfb61e1c
/usr/lib/.build-id/19
/usr/lib/.build-id/19/4ba1e8662b0152095a5515e368840125c85e87
/usr/lib/.build-id/38
/usr/lib/.build-id/38/c2b2daf2316ade7408634747cbd1a63933b932
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/8716f1db1f1a55941e122f4e88547bba1621fb
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/2d8826acad8a64a51c9ae72a09019c454ccbb3
/usr/lib/.build-id/85
/usr/lib/.build-id/85/ec45fffd6b299fc91b7635faa3547893027ce5
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/d9061e0a81a8c456e9e8917234fad067116e8c
/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/19
/usr/lib/.build-id/19/d2d23b435d70ede07790cf8f7499b4510d7120
/usr/lib/.build-id/21
/usr/lib/.build-id/21/c062be632ecf40832560cbd334501b3e4feafb
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/5fcfe4ad1e99e6f813cdf334715caf4b8b7bbd
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/a44297e6b3f7c4023f49e99034b9611e4fe0b9
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/8190089f127bc25948596e18d082489f7cecad
/usr/lib/.build-id/db
/usr/lib/.build-id/db/2e3ce1cf4e8eb20584797307fe63c0c1a9ae7d
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/aff48eab20fc24c22c30d7c1759c46641d0486
/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
Summary
In this tutorial we learn how to install userspace-rcu
on Rocky Linux 8 using yum and dnf.