eos command not found

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

Introduction

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

eos: command not found

or when using sudo you get the following error message

sudo: eos: command not found

Solutions to eos: command not found

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

In Ubuntu eos is provided by elk-lapw package.

elk-lapw is:

Elk is an all-electron full-potential linearised augmented-plane wave (FP-LAPW) code. By not including pseudo-potentials, Elk can provide very reliable high-precision results and works for every chemical element. Features include:

  • FP-LAPW basis with local-orbitals
  • APW radial derivative matching to arbitrary orders at muffin-tin surface (super-LAPW, etc.)
  • Arbitrary number of local-orbitals allowed (all core states can be made valence for example)
  • Total energies resolved into components
  • Forces - including incomplete basis set (IBS) and core corrections work with spin-orbit coupling, non-collinear magnetism and LDA+U
  • LSDA, GGA and (potential-only) meta-GGA functionals available
  • LDA+U: fully localised limit (FLL), around mean field (AFM) and interpolation between the two; works with SOC, NCM and spin-spirals
  • Isolated molecules or periodic systems
  • Core states treated with the radial Dirac equation
  • Spin-orbit coupling (SOC) included in second-variational scheme
  • Non-collinear magnetism (NCM) with arbitrary on-site magnetic fields
  • Fixed spin-moment calculations (with SOC and NCM)
  • Time-dependent density functional theory (TDDFT) for linear optical response calculations
  • First-order optical response
  • Non-linear optical (NLO) second harmonic generation

Elk is parallelized via hybrid OpenMP/OpenMPI.

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

sudo apt-get -y install elk-lapw

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

You can also use apt command to install elk-lapw.

sudo apt -y install elk-lapw

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

sudo aptitude install elk-lapw

Summary

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