gemmi command not found

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

Introduction

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

gemmi: command not found

or when using sudo you get the following error message

sudo: gemmi: command not found

Solutions to gemmi: command not found

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

In Ubuntu gemmi is provided by gemmi package.

gemmi is:

Library for macromolecular crystallography and structural bioinformatics. For working with coordinate files (mmCIF, PDB, mmJSON), refinement restraints (monomer library), electron density maps (CCP4), and crystallographic reflection data (MTZ, SF-mmCIF). It understands crystallographic symmetries, it knows how to switch between the real and reciprocal space and it can do a few other things.

This package contains main gemmi executable.

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

sudo apt-get -y install gemmi

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

You can also use apt command to install gemmi.

sudo apt -y install gemmi

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

sudo aptitude install gemmi

Summary

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