How to Uninstall and Install libfortran-format-perl on Ubuntu 22.04

Updated: October 23, 2022

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. In this tutorial, I will show you how to install libfortran-format-perl on Ubuntu 22.04.

Requirements to install

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install libfortran-format-perl on Ubuntu 22.04

Install libfortran-format-perl Ubuntu 22.04

libfortran-format-perl is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install libfortran-format-perl using APT

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install libfortran-format-perl on your Ubuntu 22.04.

Step 1: Obtain new packages from Ubuntu by updating the APT database. Launch the terminal and enter the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install libfortran-format-perl Ubuntu by pasting this command into the terminal and executing it.

sudo apt install libfortran-format-perl

Install libfortran-format-perl using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already done so, run this command to install it.

sudo apt-get -y install aptitude

After installing, you can now install libfortran-format-perl, just following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install libfortran-format-perl Ubuntu by executing this command in the terminal.

sudo aptitude install libfortran-format-perl

Uninstall libfortran-format-perl on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a libfortran-format-perl, can be easily uninstalled by anyone.

You can uninstall libfortran-format-perl on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove libfortran-format-perl

You can also execute this command if you want to uninstall libfortran-format-perl and remove its data and dependencies:

sudo apt autoremove --purge libfortran-format-perl

Summary

In this tutorial, I showed you ways to install libfortran-format-perl on Ubuntu 22.04 and ways to uninstall libfortran-format-perl too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.