How To Install java-dirq on Rocky Linux 8
Introduction
In this tutorial we learn how to install java-dirq
on Rocky Linux 8.
What is java-dirq
The goal of this module is to offer a simple queue system using the underlying file system for storage, security and to prevent race conditions via atomic operations. It focuses on simplicity, robustness and scalability. This module allows multiple concurrent readers and writers to interact with the same queue. A Perl implementation (Directory of the same algorithm are available so readers and writers can be written in different programming languages.
We can use yum
or dnf
to install java-dirq
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install java-dirq.
Install java-dirq 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 java-dirq
using dnf
by running the following command:
sudo dnf -y install java-dirq
Install java-dirq 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 java-dirq
using yum
by running the following command:
sudo yum -y install java-dirq
How To Uninstall java-dirq on Rocky Linux 8
To uninstall only the java-dirq
package we can use the following command:
sudo dnf remove java-dirq
java-dirq Package Contents on Rocky Linux 8
/usr/share/doc/java-dirq
/usr/share/doc/java-dirq/LICENSE
/usr/share/java/java-dirq.jar
/usr/share/maven-metadata/java-dirq.xml
/usr/share/maven-poms/java-dirq.pom
References
Summary
In this tutorial we learn how to install java-dirq
on Rocky Linux 8 using yum and dnf.