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

Last updated: May 19,2024

1. Install "gfortran-9" package

This guide let you learn how to install gfortran-9 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install gfortran-9

2. Uninstall "gfortran-9" package

This tutorial shows how to uninstall gfortran-9 on Ubuntu 21.10 (Impish Indri):

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

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

Package: gfortran-9
Architecture: amd64
Version: 9.4.0-3ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-9
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 27264
Provides: fortran95-compiler, gfortran-mod-15
Depends: gcc-9-base (= 9.4.0-3ubuntu1), gcc-9 (= 9.4.0-3ubuntu1), libgfortran-9-dev (= 9.4.0-3ubuntu1), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.34), libgmp10 (>= 2:5.0.1~), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gfortran-9-multilib, gfortran-9-doc, libcoarrays-dev
Filename: pool/universe/g/gcc-9/gfortran-9_9.4.0-3ubuntu1_amd64.deb
Size: 8619808
MD5sum: d1b69c3c23afc1728856b8ed1288f497
SHA1: d90be2d3320af097ec0b6b9d037c548a8205d446
SHA256: 43d24cc831fe6f8339c61296d045821c7f5858e5c4bc98d56fb870ae3e85d42f
SHA512: 919997e7d1f77f2eff977fee0e92d3b71512c4df356e6f8649bdf8d8ae6c43acccd2c45c165b0622301ba12a0e471590810eb37811f19f23e0bc513420d38304
Homepage: http://gcc.gnu.org/
Description-en: GNU Fortran compiler
This is the GNU Fortran compiler, which compiles
Fortran on platforms supported by the gcc compiler. It uses the
gcc backend to generate optimized code.
Description-md5: 5dd93c5d21d0717205bc5a3b538b0ca2