c2x command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
c2x: command not found
or when using sudo you get the following error message
sudo: c2x: command not found
Solutions to c2x: command not found
How To Fix c2x: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu c2x is provided by c2x package.
c2x is:
This program should convert CASTEP’s .check, .castep_bin, orbitals and .cell to various other formats, particularly so that they can be visualised with Jmol, XCrysDen, gnuplot and other programs. It can extract change and spin densities, wavefunctions, symmetry operations, and much else besides. It also interfaces with VASP, Siesta, and other electronic structure codes.
The code can also manipulate .cell and .pdb files, building supercells or performing shifts.
To fix this problem, we can install more using the command below.
sudo apt-get -y install c2x
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install c2x.
sudo apt -y install c2x
Or if you have aptitude installed you can use the following command.
sudo aptitude install c2x
Summary
In this tutorial we learn how to fix c2x command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.