How To Install userspace-rcu.x86_64 on Amazon Linux 2

In this tutorial we learn how to install userspace-rcu.x86_64 in Amazon Linux 2. userspace-rcu.x86_64 is RCU (read-copy-update) implementation in user space

Introduction

In this tutorial we learn how to install userspace-rcu.x86_64 on Amazon Linux 2.

What is userspace-rcu.x86_64

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 to install userspace-rcu.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install userspace-rcu.x86_64.

Install userspace-rcu.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install userspace-rcu.x86_64 using yum by running the following command:

sudo yum -y install userspace-rcu.x86_64

How To Uninstall userspace-rcu.x86_64 on Amazon Linux 2

To uninstall only the userspace-rcu.x86_64 package we can use the following command:

sudo yum remove userspace-rcu.x86_64

userspace-rcu.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/liburcu-bp.so.1
/usr/lib64/liburcu-bp.so.1.0.0
/usr/lib64/liburcu-cds.so.1
/usr/lib64/liburcu-cds.so.1.0.0
/usr/lib64/liburcu-common.so.1
/usr/lib64/liburcu-common.so.1.0.0
/usr/lib64/liburcu-mb.so.1
/usr/lib64/liburcu-mb.so.1.0.0
/usr/lib64/liburcu-qsbr.so.1
/usr/lib64/liburcu-qsbr.so.1.0.0
/usr/lib64/liburcu-signal.so.1
/usr/lib64/liburcu-signal.so.1.0.0
/usr/lib64/liburcu.so.1
/usr/lib64/liburcu.so.1.0.0
/usr/share/doc/userspace-rcu-0.7.16
/usr/share/doc/userspace-rcu-0.7.16/LICENSE
/usr/share/doc/userspace-rcu-0.7.16/gpl-2.0.txt
/usr/share/doc/userspace-rcu-0.7.16/lgpl-2.1.txt
/usr/share/doc/userspace-rcu-0.7.16/lgpl-relicensing.txt
/usr/share/doc/userspace-rcu/ChangeLog
/usr/share/doc/userspace-rcu/README

References

Summary

In this tutorial we learn how to install userspace-rcu.x86_64 on Amazon Linux 2 using yum.