ratfor command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ratfor: command not found
or when using sudo you get the following error message
sudo: ratfor: command not found
Solutions to ratfor: command not found
How To Fix ratfor: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ratfor is provided by ratfor package.
ratfor is:
Ratfor77 is a preprocessor that converts the Rational Fortran dialect into ordinary Fortran 77. The output can then be compiled using gfortran or f2c + gcc.
The Ratfor dialect provides C-like control structures and some syntactic sugar that makes Fortran programs easier to read and write.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ratfor
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ratfor.
sudo apt -y install ratfor
Or if you have aptitude installed you can use the following command.
sudo aptitude install ratfor
Summary
In this tutorial we learn how to fix ratfor command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.