vasp2cif command not found

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

Introduction

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

vasp2cif: command not found

or when using sudo you get the following error message

sudo: vasp2cif: command not found

Solutions to vasp2cif: command not found

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

In Ubuntu vasp2cif is provided by python3-cif2cell package.

python3-cif2cell is:

cif2cell is a tool to generate the geometrical setup for various electronic structure codes from a CIF (Crystallographic Information Framework) file. The code will generate the crystal structure for the primitive cell or the conventional cell.

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

sudo apt-get -y install python3-cif2cell

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

You can also use apt command to install python3-cif2cell.

sudo apt -y install python3-cif2cell

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

sudo aptitude install python3-cif2cell

Summary

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