How To Install jna-contrib on Fedora 36

In this tutorial we learn how to install jna-contrib in Fedora 36. jna-contrib is Contrib for jna

Introduction

In this tutorial we learn how to install jna-contrib on Fedora 36.

What is jna-contrib

This package contains the contributed examples for jna.

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

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

sudo dnf -y install jna-contrib

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

sudo yum -y install jna-contrib

How To Uninstall jna-contrib on Fedora 36

To uninstall only the jna-contrib package we can use the following command:

sudo dnf remove jna-contrib

jna-contrib Package Contents on Fedora 36

/usr/share/java/jna
/usr/share/java/jna/jna-platform.jar
/usr/share/maven-metadata/jna-contrib.xml
/usr/share/maven-poms/jna
/usr/share/maven-poms/jna/jna-platform.pom

References

Summary

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