openmx command not found

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

Introduction

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

openmx: command not found

or when using sudo you get the following error message

sudo: openmx: command not found

Solutions to openmx: command not found

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

In Ubuntu openmx is provided by openmx package.

openmx is:

OpenMX (Open source package for Material eXplorer) is a program package for nano-scale material simulations based on density functional theories (DFT), norm-conserving pseudopotentials and pseudo-atomic localized basis functions. Since the code is designed for the realization of large-scale ab initio calculations on parallel computers, it is anticipated that OpenMX can be a useful and powerful tool for nano-scale material sciences in a wide variety of systems such as biomaterials, carbon nanotubes, magnetic materials, and nanoscale conductors.

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

sudo apt-get -y install openmx

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

You can also use apt command to install openmx.

sudo apt -y install openmx

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

sudo aptitude install openmx

Summary

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