viewmol command not found

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

Introduction

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

viewmol: command not found

or when using sudo you get the following error message

sudo: viewmol: command not found

Solutions to viewmol: command not found

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

In Ubuntu viewmol is provided by viewmol package.

viewmol is:

Viewmol is able to graphically aid in the generation of molecular structures for computations and to visualize their results.

At present Viewmol includes input filters for Discover, DMol3, Gamess, Gaussian 9x/03, Gulp, Mopac, PQS, Turbomole, and Vamp outputs as well as for PDB files. Structures can be saved as Accelrys’ car-files, MDL files, and Turbomole coordinate files. Viewmol can generate input files for Gaussian 9x/03. Viewmol’s file format has been added to OpenBabel so that OpenBabel can serve as an input as well as an output filter for coordinates.

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

sudo apt-get -y install viewmol

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

You can also use apt command to install viewmol.

sudo apt -y install viewmol

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

sudo aptitude install viewmol

Summary

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