How to Install and Uninstall gfortran Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 18,2024

1. Install "gfortran" package

This guide covers the steps necessary to install gfortran on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install gfortran

2. Uninstall "gfortran" package

Here is a brief guide to show you how to uninstall gfortran on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove gfortran $ sudo apt autoclean && sudo apt autoremove

3. Information about the gfortran package on Ubuntu 21.10 (Impish Indri)

Package: gfortran
Architecture: amd64
Version: 4:11.2.0-1ubuntu1
Priority: optional
Section: devel
Source: gcc-defaults (1.193ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 15
Provides: fortran-compiler, gfortran-mod-15
Depends: cpp (= 4:11.2.0-1ubuntu1), gcc (= 4:11.2.0-1ubuntu1), gfortran-11 (>= 11.2.0-1~)
Suggests: gfortran-multilib, gfortran-doc
Filename: pool/main/g/gcc-defaults/gfortran_11.2.0-1ubuntu1_amd64.deb
Size: 1182
MD5sum: aadaf69febb2f1ff87d707e7410ca5f7
SHA1: f097d5a89eb37910e19b00d69a0bec09bc964e4c
SHA256: aea0b9eacc3e57c0bd1b684788f9bbf9f575f15d3b053d64f36ae950717d5917
SHA512: d3d57eea1dcbe04db82cae8e65316667dd1c47355d67eac61248c066b956403fc7a6f1dad0a39e636aa3a0fa7486b8b0c809a0eb6c9db7d7bce0d5cd953f5bef
Description-en: GNU Fortran 95 compiler
This is the GNU Fortran 95 compiler, which compiles Fortran 95 on platforms
supported by the gcc compiler. It uses the gcc backend to generate optimized
code.
.
This is a dependency package providing the default GNU Fortran 95 compiler.
Description-md5: 19814cb032299ba2188b0196ece62ba3