rasmol-classic command not found

In this troubleshooting guide we learn how to fix rasmol-classic command not found error message

Introduction

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

rasmol-classic: command not found

or when using sudo you get the following error message

sudo: rasmol-classic: command not found

Solutions to rasmol-classic: command not found

How To Fix rasmol-classic: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu rasmol-classic is provided by rasmol package.

rasmol is:

RasMol is a molecular graphics program intended for the visualisation of proteins, nucleic acids and small molecules. The program is aimed at display, teaching and generation of publication quality images.

The program reads in a molecule coordinate file and interactively displays the molecule on the screen in a variety of colour schemes and molecule representations. Currently available representations include depth-cued wireframes, ‘Dreiding’ sticks, spacefilling (CPK) spheres, ball and stick, solid and strand biomolecular ribbons, atom labels and dot surfaces.

Supported input file formats include Protein Data Bank (PDB), Tripos Associates’ Alchemy and Sybyl Mol2 formats, Molecular Design Limited’s (MDL) Mol file format, Minnesota Supercomputer Center’s (MSC) XYZ (XMol) format, CHARMm format, CIF format and mmCIF format files.

This package installs two versions of RasMol, rasmol-gtk has a modern GTK-based user interface and rasmol-classic is the version with the old Xlib GUI.

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

sudo apt-get -y install rasmol

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

You can also use apt command to install rasmol.

sudo apt -y install rasmol

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

sudo aptitude install rasmol

Summary

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