How To Install libdirq on Fedora 34
Introduction
In this tutorial we learn how to install libdirq
on Fedora 34.
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. libdirq 0.5 9.fc34 x86_64 18 k libdirq-0.5-9.fc34.src.rpm fedora C implementation of the simple directory queue algorithm https ASL 2.0 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libdirq.
Install libdirq 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 libdirq
using dnf
by running the following command:
sudo dnf -y install libdirq
Install libdirq 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 libdirq
using yum
by running the following command:
sudo yum -y install libdirq
How To Uninstall libdirq on Fedora 34
To uninstall only the libdirq
package we can use the following command:
sudo dnf remove libdirq
libdirq Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/c9dd9002ede4ad4cae68dce94c2bf6eefa41c0
/usr/lib64/libdirq.so.0
/usr/lib64/libdirq.so.0.5
/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/e2e191b05bfe9a7a92851fac74e91551013141
/usr/lib/libdirq.so.0
/usr/lib/libdirq.so.0.5
References
- [libdirq website](https://github.com/cern-mig/c-dirq/ https://github.com/cern-mig/c-dirq/)
Summary
In this tutorial we learn how to install libdirq
on Fedora 34 using yum and dnf.