xplor2gmx command not found

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

Introduction

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

xplor2gmx: command not found

or when using sudo you get the following error message

sudo: xplor2gmx: command not found

Solutions to xplor2gmx: command not found

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

In Ubuntu xplor2gmx is provided by gromacs package.

gromacs is:

GROMACS is a versatile package to perform molecular dynamics, i.e. simulate the Newtonian equations of motion for systems with hundreds to millions of particles.

It is primarily designed for biochemical molecules like proteins and lipids that have a lot of complicated bonded interactions, but since GROMACS is extremely fast at calculating the nonbonded interactions (that usually dominate simulations) many groups are also using it for research on non- biological systems, e.g. polymers.

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

sudo apt-get -y install gromacs

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

You can also use apt command to install gromacs.

sudo apt -y install gromacs

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

sudo aptitude install gromacs

Summary

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