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

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

Introduction

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

What is userspace-rcu.i686

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

Install userspace-rcu.i686 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.i686 using yum by running the following command:

sudo yum -y install userspace-rcu.i686

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

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

sudo yum remove userspace-rcu.i686

userspace-rcu.i686 Package Contents on Amazon Linux 2

/usr/lib/liburcu-bp.so.1
/usr/lib/liburcu-bp.so.1.0.0
/usr/lib/liburcu-cds.so.1
/usr/lib/liburcu-cds.so.1.0.0
/usr/lib/liburcu-common.so.1
/usr/lib/liburcu-common.so.1.0.0
/usr/lib/liburcu-mb.so.1
/usr/lib/liburcu-mb.so.1.0.0
/usr/lib/liburcu-qsbr.so.1
/usr/lib/liburcu-qsbr.so.1.0.0
/usr/lib/liburcu-signal.so.1
/usr/lib/liburcu-signal.so.1.0.0
/usr/lib/liburcu.so.1
/usr/lib/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.i686 on Amazon Linux 2 using yum.