How To Install erlang-jinterface on Rocky Linux 8

In this tutorial we learn how to install erlang-jinterface on Rocky Linux 8. erlang-jinterface is A library for accessing Java from Erlang

Introduction

In this tutorial we learn how to install erlang-jinterface on Rocky Linux 8.

What is erlang-jinterface

Low level interface to Java.

We can use yum or dnf to install erlang-jinterface on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install erlang-jinterface.

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

sudo dnf -y install erlang-jinterface

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

sudo yum -y install erlang-jinterface

How To Uninstall erlang-jinterface on Rocky Linux 8

To uninstall only the erlang-jinterface package we can use the following command:

sudo dnf remove erlang-jinterface

erlang-jinterface Package Contents on Rocky Linux 8

/usr/lib64/erlang/lib/jinterface-1.10
/usr/lib64/erlang/lib/jinterface-1.10/ebin
/usr/lib64/erlang/lib/jinterface-1.10/ebin/jinterface.app
/usr/lib64/erlang/lib/jinterface-1.10/ebin/jinterface.appup
/usr/lib64/erlang/lib/jinterface-1.10/priv
/usr/lib64/erlang/lib/jinterface-1.10/priv/OtpErlang.jar
/usr/share/java/erlang
/usr/share/java/erlang/OtpErlang.jar

References

Summary

In this tutorial we learn how to install erlang-jinterface on Rocky Linux 8 using yum and dnf.