inchi_main command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
inchi_main: command not found
or when using sudo you get the following error message
sudo: inchi_main: command not found
Solutions to inchi_main: command not found
How To Fix inchi_main: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu inchi_main is provided by libinchi-bin package.
libinchi-bin is:
The International Chemical Identifier (InChI) is an Open Source chemical structure representation algorithm.
InChIs are text strings comprising different layers and sublayers of information separated by slashes (/). Each InChI strings starts with the InChI version number followed by the main layer. This main layer contains sublayers for chemical formula, atom connections and hydrogen atoms. Depending on the structure of the molecule the main layer may be followed by additional layers e. g. for charge, stereochemical and/or isotop information.
This package contains the executable, inchi_main.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libinchi-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libinchi-bin.
sudo apt -y install libinchi-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install libinchi-bin
Summary
In this tutorial we learn how to fix inchi_main command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.