How To Install libopenchemlib-java on Kali Linux
Introduction
In this tutorial we learn how to install libopenchemlib-java on Kali Linux.
What is libopenchemlib-java
libopenchemlib-java is:
OpenChemLib is Java based framework providing cheminformatics core functionality and user interface components. Its main focus is on organics chemistry and small molecules. It is built around a StereoMolecule class, which represents a molecule using atom and bond tables, provides atom neighbours, ring and aromaticity information, and supports MDL’s concept of enhanced stereo representation. Additional classes provide, 2D-depiction, descriptor calculation, molecular similarity and substructure search, reaction search, property prediction, conformer generation, support for molfile and SMILES formats, energy minimization, ligand-protein interactions, and more. OpenChemLib’s idcode represents molecules, fragments or reactions as canonical, very compact string that includes stereo and query features.
Different to other cheminformatics frameworks, OpenChemLib also provides user interface components that allow one to easily embed chemical functionality into Java applications, e.g. to display or edit chemical structures or reactions.
There are three methods to install libopenchemlib-java on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install libopenchemlib-java Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libopenchemlib-java using apt-get by running the following command:
sudo apt-get -y install libopenchemlib-javaInstall libopenchemlib-java Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libopenchemlib-java using apt by running the following command:
sudo apt -y install libopenchemlib-javaInstall libopenchemlib-java Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install libopenchemlib-java using aptitude by running the following command:
sudo aptitude -y install libopenchemlib-javaHow To Uninstall libopenchemlib-java on Kali Linux
To uninstall only the libopenchemlib-java package we can use the following command:
sudo apt-get remove libopenchemlib-javaUninstall libopenchemlib-java And Its Dependencies
To uninstall libopenchemlib-java and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libopenchemlib-javaRemove libopenchemlib-java Configurations and Data
To remove libopenchemlib-java configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libopenchemlib-javaRemove libopenchemlib-java configuration, data, and all of its dependencies
We can use the following command to remove libopenchemlib-java configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libopenchemlib-javaDependencies
libopenchemlib-java have the following dependencies:
References
Summary
In this tutorial we learn how to install libopenchemlib-java package on Kali Linux using different package management tools: apt, apt-get and aptitude.