How To Install jnr-constants on Fedora 36

In this tutorial we learn how to install jnr-constants in Fedora 36. jnr-constants is Java Native Runtime constants

Introduction

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

What is jnr-constants

Provides java values for common platform C constants (e.g. errno).

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

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

sudo dnf -y install jnr-constants

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

sudo yum -y install jnr-constants

How To Uninstall jnr-constants on Fedora 36

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

sudo dnf remove jnr-constants

jnr-constants Package Contents on Fedora 36

/usr/share/doc/jnr-constants
/usr/share/doc/jnr-constants/LICENSE
/usr/share/java/constantine.jar
/usr/share/java/jnr-constants
/usr/share/java/jnr-constants.jar
/usr/share/java/jnr-constants/jnr-constants.jar
/usr/share/maven-metadata/jnr-constants.xml
/usr/share/maven-poms/constantine.pom
/usr/share/maven-poms/jnr-constants
/usr/share/maven-poms/jnr-constants.pom
/usr/share/maven-poms/jnr-constants/jnr-constants.pom

References

Summary

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