How To Install ratfor on Kali Linux
Introduction
In this tutorial we learn how to install ratfor on Kali Linux.
What is ratfor
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.
There are three methods to install ratfor on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install ratfor Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ratfor using apt-get by running the following command:
sudo apt-get -y install ratforInstall ratfor Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ratfor using apt by running the following command:
sudo apt -y install ratforInstall ratfor Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install ratfor using aptitude by running the following command:
sudo aptitude -y install ratforHow To Uninstall ratfor on Kali Linux
To uninstall only the ratfor package we can use the following command:
sudo apt-get remove ratforUninstall ratfor And Its Dependencies
To uninstall ratfor and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ratforRemove ratfor Configurations and Data
To remove ratfor configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ratforRemove ratfor configuration, data, and all of its dependencies
We can use the following command to remove ratfor configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ratforDependencies
ratfor have the following dependencies:
References
Summary
In this tutorial we learn how to install ratfor package on Kali Linux using different package management tools: apt, apt-get and aptitude.