jmol command not found

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

Introduction

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

jmol: command not found

or when using sudo you get the following error message

sudo: jmol: command not found

Solutions to jmol: command not found

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

In Ubuntu jmol is provided by jmol package.

jmol is:

Jmol is a Java molecular viewer for three-dimensional chemical structures. Features include reading a variety of file types and output from quantum chemistry programs, and animation of multi-frame files and computed normal modes from quantum programs. It includes with features for chemicals, crystals, materials and biomolecules. Jmol might be useful for students, educators, and researchers in chemistry and biochemistry.

File formats read by Jmol include PDB, XYZ, CIF, CML, MDL Molfile, Gaussian, GAMESS, MOPAC, ABINIT, ACES-II, Dalton and VASP.

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

sudo apt-get -y install jmol

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

You can also use apt command to install jmol.

sudo apt -y install jmol

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

sudo aptitude install jmol

Summary

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