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

Last updated: December 29,2024

1. Install "gfortran" package

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

$ sudo apt update $ sudo apt install gfortran

2. Uninstall "gfortran" package

Learn how to uninstall gfortran on Ubuntu 24.04 LTS (Noble Numbat):

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

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

Package: gfortran
Architecture: amd64
Version: 4:13.2.0-7ubuntu1
Priority: optional
Section: devel
Source: gcc-defaults (1.214ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Provides: fortran-compiler, gfortran-mod-15
Depends: cpp (= 4:13.2.0-7ubuntu1), cpp-x86-64-linux-gnu (= 4:13.2.0-7ubuntu1), gcc (= 4:13.2.0-7ubuntu1), gfortran-13 (>= 13.2.0-11~), gfortran-x86-64-linux-gnu (= 4:13.2.0-7ubuntu1)
Suggests: gfortran-multilib, gfortran-doc
Filename: pool/main/g/gcc-defaults/gfortran_13.2.0-7ubuntu1_amd64.deb
Size: 1176
MD5sum: 8696dcf98979009d80349d33e012ca53
SHA1: cd79878f57132bd0c8face8a46fdc33e577f4961
SHA256: 55330d590af1fdc77e00659117a5898731bd9368da20f2812ed944685c0996af
SHA512: 721dc2cccc3adcccebbb6622bf5184adb5466b80fb7c7dae406a761a338b31c4694821af8ea86fb0316388383221dab50ff7ae68dfd1f3601eb469726267f5e7
Description: GNU Fortran 95 compiler
Description-md5: 19814cb032299ba2188b0196ece62ba3