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

Last updated: December 23,2024

1. Install "gfortran-12" package

Please follow the step by step instructions below to install gfortran-12 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install gfortran-12

2. Uninstall "gfortran-12" package

Here is a brief guide to show you how to uninstall gfortran-12 on Ubuntu 24.04 LTS (Noble Numbat):

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

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

Package: gfortran-12
Architecture: amd64
Version: 12.3.0-15ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-12
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 35506
Provides: fortran95-compiler, gfortran-mod-15
Depends: gcc-12-base (= 12.3.0-15ubuntu1), gcc-12 (= 12.3.0-15ubuntu1), libgfortran-12-dev (= 12.3.0-15ubuntu1), 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), libzstd1 (>= 1.5.5), zlib1g (>= 1:1.1.4)
Suggests: gfortran-12-multilib, gfortran-12-doc, libcoarrays-dev
Filename: pool/universe/g/gcc-12/gfortran-12_12.3.0-15ubuntu1_amd64.deb
Size: 11224552
MD5sum: 7513d160311fc9851739a76f8c6abb06
SHA1: d909efdbc6e2e44ab8f5ef355fa7550bff763910
SHA256: c5fe54e2ecb5a76716fa8e17d632a4eb6ad70c19cd23d5c584efd23e620d5245
SHA512: d2d2d5c13cc41e0badbe23eefc3f95ccc8243e14d13c84d38df9aa8212976eb8f16907eb5ac199604deff6a8dd2e6c9560fbda1472a939247ef9c8b83ec6fd63
Homepage: http://gcc.gnu.org/
Description: GNU Fortran compiler
Description-md5: 5dd93c5d21d0717205bc5a3b538b0ca2