How To Install jctools on Fedora 36

In this tutorial we learn how to install jctools in Fedora 36. jctools is Java Concurrency Tools for the JVM

Introduction

In this tutorial we learn how to install jctools on Fedora 36.

What is jctools

This project aims to offer some concurrent data structures currently missing from the JDK ° SPSC/MPSC/SPMC/MPMC Bounded lock free queues ° SPSC/MPSC Unbounded lock free queues ° Alternative interfaces for queues ° Offheap concurrent ring buffer for ITC/IPC purposes ° Single Writer Map/Set implementations ° Low contention stats counters ° Executor

We can use yum or dnf to install jctools on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install jctools.

Install jctools on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install jctools

Install jctools on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install jctools

How To Uninstall jctools on Fedora 36

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

sudo dnf remove jctools

jctools Package Contents on Fedora 36

/usr/share/doc/jctools
/usr/share/doc/jctools/README.md
/usr/share/java/jctools
/usr/share/java/jctools/jctools-core.jar
/usr/share/licenses/jctools
/usr/share/licenses/jctools/LICENSE
/usr/share/maven-metadata/jctools-jctools-core.xml
/usr/share/maven-poms/jctools
/usr/share/maven-poms/jctools/jctools-core.pom

References

Summary

In this tutorial we learn how to install jctools on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).