How to Install and Uninstall gfortran-9 Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 24,2024

1. Install "gfortran-9" package

This guide covers the steps necessary to install gfortran-9 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install gfortran-9

2. Uninstall "gfortran-9" package

In this section, we are going to explain the necessary steps to uninstall gfortran-9 on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the gfortran-9 package on Ubuntu 24.04 LTS (Noble Numbat)

Package: gfortran-9
Architecture: amd64
Version: 9.5.0-5ubuntu1
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: 29816
Provides: fortran95-compiler, gfortran-mod-15
Depends: gcc-9-base (= 9.5.0-5ubuntu1), gcc-9 (= 9.5.0-5ubuntu1), libgfortran-9-dev (= 9.5.0-5ubuntu1), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.38), libgmp10 (>= 2:6.3.0+dfsg), 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.5.0-5ubuntu1_amd64.deb
Size: 11246356
MD5sum: 3e5cc048d17299ec60558e6f42ceb5ed
SHA1: 54e0169de933d90e160f5ae253e2d21327773746
SHA256: 1a4262b216bd8eebe940dd54feb2191a011e8280595b4683b0ee438b84957d1a
SHA512: be9872775c99ae41ccf4a18e91b7b0efee357f46445635298099c8d140400180ee70a57cbf00e632d6c683bfb879fb70b424198a552ed62f6dccd48133584f33
Homepage: http://gcc.gnu.org/
Description: GNU Fortran compiler
Description-md5: 5dd93c5d21d0717205bc5a3b538b0ca2