chemtool command not found

In this troubleshooting guide we learn how to fix chemtool command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

chemtool: command not found

or when using sudo you get the following error message

sudo: chemtool: command not found

Solutions to chemtool: command not found

How To Fix chemtool: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu chemtool is provided by chemtool package.

chemtool is:

Chemtool is a GTK+ based 2D chemical structure editor for X11. It supports many bond styles, most forms of text needed for chemical typesetting and splines/arcs/curved arrows.

Drawings can be exported to MOL and PDB format, SVG or XFig format for further annotation, as a PiCTeX drawing, as a bitmap or as Postscript files (several of these through XFig’s companion program fig2dev).

The package also contains a helper program, cht, to calculate sum formula and (exact) molecular weight from a chemtool drawing file. Cht can either be called directly by Chemtool or on the console.

To fix this problem, we can install more using the command below.

sudo apt-get -y install chemtool

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install chemtool.

sudo apt -y install chemtool

Or if you have aptitude installed you can use the following command.

sudo aptitude install chemtool

Summary

In this tutorial we learn how to fix chemtool command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.