How To Install libfullock on Fedora 34

libfullock is Fast User Level LOCK (FULLOCK) library for C/C++ Fast User Level LOCK (FULLOCK) library for C/C++

Introduction

In this tutorial we learn how to install libfullock on Fedora 34.

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 libfullock 1.0.39 1.fc34.1 x86_64 83 k libfullock-1.0.39-1.fc34.1.src.rpm fedora Fast User Level LOCK (FULLOCK) library for C/C++ https MIT 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libfullock.

Install libfullock on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libfullock using dnf by running the following command:

sudo dnf -y install libfullock

Install libfullock on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

To uninstall only the libfullock package we can use the following command:

sudo dnf remove libfullock

libfullock Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/67
/usr/lib/.build-id/67/d095bcc0471164f3a99afb8c224740bfbe3094
/usr/lib/libfullock.so.1
/usr/lib/libfullock.so.1.0.39
/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
/usr/lib/.build-id
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/5be1e0a45c9c7c97b5ef25c7ef605f9dea549b
/usr/lib64/libfullock.so.1
/usr/lib64/libfullock.so.1.0.39
/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 Fedora 34 using yum and dnf.