gaussian_analyzer command not found

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

Introduction

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

gaussian_analyzer: command not found

or when using sudo you get the following error message

sudo: gaussian_analyzer: command not found

Solutions to gaussian_analyzer: command not found

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

In Ubuntu gaussian_analyzer is provided by python3-pymatgen package.

python3-pymatgen is:

Pymatgen (Python Materials Genomics) is a robust, open-source Python library for materials analysis. These are some of the main features:

1.Highly flexible classes for the representation of Element, Site, Molecule, Structure objects.

  1. Extensive input/output support, including support for VASP (http://cms.mpi.univie.ac.at/vasp/), ABINIT (http://www.abinit.org/), CIF, Gaussian, XYZ, and many other file formats.

  2. Powerful analysis tools, including generation of phase diagrams, Pourbaix diagrams, diffusion analyses, reactions, etc.

  3. Electronic structure analyses, such as density of states and band structure.

  4. Integration with the Materials Project REST API, Crystallography Open Database.

This package provides the pymtgen module for Python 3.

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

sudo apt-get -y install python3-pymatgen

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

You can also use apt command to install python3-pymatgen.

sudo apt -y install python3-pymatgen

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

sudo aptitude install python3-pymatgen

Summary

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