How To Install libindigo-dev on Ubuntu 18.04

In this tutorial we learn how to install libindigo-dev on Ubuntu 18.04. libindigo-dev is Organic Chemistry Toolkit (development files)

Introduction

In this tutorial we learn how to install libindigo-dev on Ubuntu 18.04.

What is libindigo-dev

libindigo-dev is:

Indigo is a C++ based organic chemistry and cheminformatics software environment. Features Include:

  • Molecule and reaction rendering including SVG support
  • Automatic layout for SMILES-represented molecules and reactions
  • Canonical (isomeric) SMILES computation
  • Exact matching, substructure matching, SMARTS matching
  • Matching of tautomers and resonance structures
  • Molecule fingerprinting, molecule similarity computation
  • Fast enumeration of SSSR rings, subtrees, and edge sugraphs
  • Molecular weight, molecular formula computation
  • R-Group deconvolution and scaffold detection
  • Computation of the exact maximum common substructure for an arbitrary amount of input structures
  • Combinatorial chemistry
  • Plugin support in the API

File formats Indigo support include MDL Mol, SDF, RDF, CML, SMILES and SMARTS.

This package contains the static library and header files.

There are three methods to install libindigo-dev on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libindigo-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libindigo-dev using apt-get by running the following command:

sudo apt-get -y install libindigo-dev

Install libindigo-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libindigo-dev using apt by running the following command:

sudo apt -y install libindigo-dev

Install libindigo-dev 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libindigo-dev using aptitude by running the following command:

sudo aptitude -y install libindigo-dev

How To Uninstall libindigo-dev on Ubuntu 18.04

To uninstall only the libindigo-dev package we can use the following command:

sudo apt-get remove libindigo-dev

Uninstall libindigo-dev And Its Dependencies

To uninstall libindigo-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libindigo-dev

Remove libindigo-dev Configurations and Data

To remove libindigo-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libindigo-dev

Remove libindigo-dev configuration, data, and all of its dependencies

We can use the following command to remove libindigo-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libindigo-dev

References

Summary

In this tutorial we learn how to install libindigo-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.