How To Install libdirq on Rocky Linux 8

In this tutorial we learn how to install libdirq on Rocky Linux 8. libdirq is C implementation of the simple directory queue algorithm

Introduction

In this tutorial we learn how to install libdirq on Rocky Linux 8.

What is libdirq

The goal of this library is to offer a “simple” queue system using the underlying filesystem for storage, security and to prevent race conditions via atomic operations. It focuses on simplicity, robustness and scalability. Multiple concurrent readers and writers can interact with the same queue. Other implementations of the same algorithm exist so readers and writers can be written in different programming languages.

We can use yum or dnf to install libdirq on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libdirq.

Install libdirq 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 libdirq using dnf by running the following command:

sudo dnf -y install libdirq

Install libdirq 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 libdirq using yum by running the following command:

sudo yum -y install libdirq

How To Uninstall libdirq on Rocky Linux 8

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

sudo dnf remove libdirq

libdirq Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/dd9b6a23b8ce0fb3fd6feaa091a0776c9cbc6d
/usr/lib64/libdirq.so.0
/usr/lib64/libdirq.so.0.5

References

Summary

In this tutorial we learn how to install libdirq on Rocky Linux 8 using yum and dnf.