How to Install and Uninstall gfortran-9 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 17,2024

1. Install "gfortran-9" package

Here is a brief guide to show you how to install gfortran-9 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gfortran-9

2. Uninstall "gfortran-9" package

This tutorial shows how to uninstall gfortran-9 on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the gfortran-9 package on Ubuntu 21.04 (Hirsute Hippo)

Package: gfortran-9
Architecture: amd64
Version: 9.3.0-23ubuntu2
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: 27236
Provides: fortran95-compiler, gfortran-mod-15
Depends: gcc-9-base (= 9.3.0-23ubuntu2), gcc-9 (= 9.3.0-23ubuntu2), libgfortran-9-dev (= 9.3.0-23ubuntu2), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.33), 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.3.0-23ubuntu2_amd64.deb
Size: 7931520
MD5sum: 7a8e83bacaed8abc971d42ec51b9206b
SHA1: 0ae559a2f7f61a757cb1d0c8c99569bc77fd2f33
SHA256: e50c8178a7f60eb4268d799a38fc0b3b7f3403251aaa0b977d4028ac51e5ab82
SHA512: ae4fe9d8db41410e3bdc3cd336615aa841982a543e13dd0e1fdf419a4720f063d8c8efb357abc3cc43b93e6fb2d5a6bd0a248bcbd13c50d84755b6cedb180fcc
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