How To Install jnr-posix on Fedora 36

In this tutorial we learn how to install jnr-posix in Fedora 36. jnr-posix is Java Posix layer

Introduction

In this tutorial we learn how to install jnr-posix on Fedora 36.

What is jnr-posix

jnr-posix is a lightweight cross-platform POSIX emulation layer for Java, written in Java and is part of the JNR project

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

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

sudo dnf -y install jnr-posix

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

sudo yum -y install jnr-posix

How To Uninstall jnr-posix on Fedora 36

To uninstall only the jnr-posix package we can use the following command:

sudo dnf remove jnr-posix

jnr-posix Package Contents on Fedora 36

/usr/share/doc/jnr-posix
/usr/share/doc/jnr-posix/README.md
/usr/share/java/jnr-posix
/usr/share/java/jnr-posix/jnr-posix.jar
/usr/share/licenses/jnr-posix
/usr/share/licenses/jnr-posix/LICENSE.txt
/usr/share/maven-metadata/jnr-posix.xml
/usr/share/maven-poms/jnr-posix
/usr/share/maven-poms/jnr-posix/jnr-posix.pom

References

Summary

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