xc-threshold command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
xc-threshold: command not found
or when using sudo you get the following error message
sudo: xc-threshold: command not found
Solutions to xc-threshold: command not found
How To Fix xc-threshold: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xc-threshold is provided by libxc-dev package.
libxc-dev is:
LibXC is a library of exchange-correlation (XC) functionals for density-functional theory (DFT). The aim is to provide a portable, well tested and reliable set of exchange and correlation functionals that can be used by other codes.
This package contains the static library, the C headers and the Fortran modules necessary for developers.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libxc-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libxc-dev.
sudo apt -y install libxc-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install libxc-dev
Summary
In this tutorial we learn how to fix xc-threshold command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.