How To Install libopenchemlib-java on Debian 12
Introduction
In this tutorial we learn how to install libopenchemlib-java
on Debian 12.
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 Debian 12. 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 update
After updating apt database, We can install libopenchemlib-java
using apt-get
by running the following command:
sudo apt-get -y install libopenchemlib-java
Install libopenchemlib-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libopenchemlib-java
using apt
by running the following command:
sudo apt -y install libopenchemlib-java
Install libopenchemlib-java Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libopenchemlib-java
using aptitude
by running the following command:
sudo aptitude -y install libopenchemlib-java
How To Uninstall libopenchemlib-java on Debian 12
To uninstall only the libopenchemlib-java
package we can use the following command:
sudo apt-get remove libopenchemlib-java
Uninstall libopenchemlib-java And Its Dependencies
To uninstall libopenchemlib-java
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libopenchemlib-java
Remove libopenchemlib-java Configurations and Data
To remove libopenchemlib-java
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libopenchemlib-java
Remove 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-java
Dependencies
libopenchemlib-java have the following dependencies:
References
Summary
In this tutorial we learn how to install libopenchemlib-java
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.