How To Install libfullock on Rocky Linux 8
Introduction
In this tutorial we learn how to install libfullock
on Rocky Linux 8.
What is libfullock
fullock is an open-source software for user level lock library sup- ported by Yahoo! JAPAN. It runs on user level and provides two types lock. One is a shared reader/writer lock which has the same function- ality with pthread_rwlock. Another is a shared mutex lock which also has the same functionality with pthread_mutex. Here is primary fullock features 1. fullock is a thread safety library which can be used for multi- processing as well as for multi-threading. 2. fullock releases a mutex lock safely even if a lock owner process exit with 0 in which case OS doesn’t release the lock. 3. fullock provides a shared reader/writer lock. A lock owner thread can get another lock again without deadlock. Please visit our website and get more details at https
We can use yum
or dnf
to install libfullock
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libfullock.
Install libfullock 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 libfullock
using dnf
by running the following command:
sudo dnf -y install libfullock
Install libfullock 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 libfullock
using yum
by running the following command:
sudo yum -y install libfullock
How To Uninstall libfullock on Rocky Linux 8
To uninstall only the libfullock
package we can use the following command:
sudo dnf remove libfullock
libfullock Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/c8afdec3eebf0de33f33c3c923edf1b183cfbf
/usr/lib64/libfullock.so.1
/usr/lib64/libfullock.so.1.0.36
/usr/share/doc/libfullock
/usr/share/doc/libfullock/AUTHORS
/usr/share/doc/libfullock/ChangeLog
/usr/share/doc/libfullock/README
/usr/share/licenses/libfullock
/usr/share/licenses/libfullock/COPYING
/usr/share/man/man3/fullock.3.gz
References
Summary
In this tutorial we learn how to install libfullock
on Rocky Linux 8 using yum and dnf.