How To Install libfortran-format-perl on Debian 10
Introduction
In this tutorial we learn how to install libfortran-format-perl
on Debian 10.
What is libfortran-format-perl
libfortran-format-perl is:
This is a Perl implementation of the Fortran 77 formatted input/output facility. One possible use is for producing input files for old Fortran programs, making sure that their column-oriented records are rigorously correct. Fortran formats may also have some advantages over printf in some cases: it is very easy to output an array, reusing the format as needed; and the syntax for repeated columns is more concise. Unlike printf, for good or ill, Fortran-formatted fields never exceed their desired width.
This implementation was written in pure Perl, with portability and correctness in mind. It implements the full ANSI standard for Fortran 77 Formats (or at least it should). It was not written with speed in mind, so if you need to process millions of records it may not be what you need.
There are three methods to install libfortran-format-perl
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libfortran-format-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libfortran-format-perl
using apt-get
by running the following command:
sudo apt-get -y install libfortran-format-perl
Install libfortran-format-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libfortran-format-perl
using apt
by running the following command:
sudo apt -y install libfortran-format-perl
Install libfortran-format-perl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libfortran-format-perl
using aptitude
by running the following command:
sudo aptitude -y install libfortran-format-perl
How To Uninstall libfortran-format-perl on Debian 10
To uninstall only the libfortran-format-perl
package we can use the following command:
sudo apt-get remove libfortran-format-perl
Uninstall libfortran-format-perl And Its Dependencies
To uninstall libfortran-format-perl
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libfortran-format-perl
Remove libfortran-format-perl Configurations and Data
To remove libfortran-format-perl
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libfortran-format-perl
Remove libfortran-format-perl configuration, data, and all of its dependencies
We can use the following command to remove libfortran-format-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libfortran-format-perl
Dependencies
libfortran-format-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libfortran-format-perl
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.