How To Install jni-inchi on Fedora 36

In this tutorial we learn how to install jni-inchi in Fedora 36. jni-inchi is International Chemical Identifiers for Java

Introduction

In this tutorial we learn how to install jni-inchi on Fedora 36.

What is jni-inchi

JNI-InChI enables Java software to generate IUPAC’s International Chemical Identifiers (InChIs) by making Java Native Interface (JNI) calls to the InChI C library developed by IUPAC. All of the features from the InChI library are supported - Standard and Non-Standard InChI generation from structures with 3D, 2D, or no coordinates - Structure generation (without coordinates) from InChI - InChIKey generation - Check InChI / InChIKey - InChI-to-InChI conversion - AuxInfo to InChI input - Access to the full range of options supported by InChI - Full support for InChI’s handling of stereochemistry JNI-InChI is a library intended for use by developers of other projects. It does not enable users to generate InChIs from molecule file formats such as .mol, .cml, .mol2, or SMILES strings. If you want to do any of these, you should take a look at the Chemistry Development Kit (CDK) or JUMBO, both of which include InChI generation powered by JNI-InChI. If, however, you are a software developer and you want want to generate the InChI for a molecule that you already hold in memory, JNI-InChI is what you need.

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

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

sudo dnf -y install jni-inchi

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

sudo yum -y install jni-inchi

How To Uninstall jni-inchi on Fedora 36

To uninstall only the jni-inchi package we can use the following command:

sudo dnf remove jni-inchi

jni-inchi Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/d9ccb8056e8393a4aec16d22e0b535a0ad0b31
/usr/lib/java/jni-inchi
/usr/lib/java/jni-inchi/jni-inchi.jar
/usr/lib64/jni-inchi
/usr/lib64/jni-inchi/libjniinchi-1.03_1.so
/usr/share/doc/jni-inchi
/usr/share/doc/jni-inchi/README
/usr/share/doc/jni-inchi/README.surechembl.txt
/usr/share/licenses/jni-inchi
/usr/share/licenses/jni-inchi/LICENSE-GPL.txt
/usr/share/licenses/jni-inchi/LICENSE-LGPL.txt
/usr/share/licenses/jni-inchi/NOTICE.txt
/usr/share/maven-metadata/jni-inchi.xml
/usr/share/maven-poms/jni-inchi
/usr/share/maven-poms/jni-inchi/jni-inchi.pom

References

Summary

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