abitk command not found

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

Introduction

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

abitk: command not found

or when using sudo you get the following error message

sudo: abitk: command not found

Solutions to abitk: command not found

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

In Ubuntu abitk is provided by abinit package.

abinit is:

ABINIT is a package whose main program allows one to find the total energy, charge density and electronic structure of systems made of electrons and nuclei (molecules and periodic solids) within Density Functional Theory (DFT), using pseudopotentials and a planewave basis.

ABINIT also includes options to optimize the geometry according to the DFT forces and stresses, or to perform molecular dynamics simulations using these forces, or to generate dynamical matrices, Born effective charges, and dielectric tensors. Excited states can be computed within the Time-Dependent Density Functional Theory (for molecules), or within Many-Body Perturbation Theory (the GW approximation). In addition to the main ABINIT code, different utility programs are provided.

This package contains the executables needed to perform calculations (however, pseudopotentials are not supplied). For a set of pseudopotentials, install the abinit-data package.

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

sudo apt-get -y install abinit

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

You can also use apt command to install abinit.

sudo apt -y install abinit

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

sudo aptitude install abinit

Summary

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