xdrawchem command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
xdrawchem: command not found
or when using sudo you get the following error message
sudo: xdrawchem: command not found
Solutions to xdrawchem: command not found
How To Fix xdrawchem: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xdrawchem is provided by xdrawchem package.
xdrawchem is:
Xdrawchem is a 2D editor for chemical structures and reactions. It mirrors the abilities of the commercial ChemDraw suite and has file compatibility with it as well as other chemical formats through OpenBabel.
This packaged version comes from a fork available at https://gitlab.com/yamanq/xdrawchem, as the previous version was no longer actively maintained. More information about it in the copyright file.
To fix this problem, we can install more using the command below.
sudo apt-get -y install xdrawchem
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install xdrawchem.
sudo apt -y install xdrawchem
Or if you have aptitude installed you can use the following command.
sudo aptitude install xdrawchem
Summary
In this tutorial we learn how to fix xdrawchem command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.