How to Install and Uninstall gfortran Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: June 02,2024

1. Install "gfortran" package

Please follow the step by step instructions below to install gfortran on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install gfortran

2. Uninstall "gfortran" package

This guide covers the steps necessary to uninstall gfortran on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the gfortran package on Ubuntu 22.10 (Kinetic Kudu)

Package: gfortran
Architecture: amd64
Version: 4:12.2.0-1ubuntu1
Priority: optional
Section: devel
Source: gcc-defaults (1.201ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 15
Provides: fortran-compiler, gfortran-mod-15
Depends: cpp (= 4:12.2.0-1ubuntu1), gcc (= 4:12.2.0-1ubuntu1), gfortran-12 (>= 12.2.0-1~)
Suggests: gfortran-multilib, gfortran-doc
Filename: pool/main/g/gcc-defaults/gfortran_12.2.0-1ubuntu1_amd64.deb
Size: 1178
MD5sum: 6fabf40a7fd564bf798ec44ad396d277
SHA1: ff2097c733ad803f8c791ec34f48ae7a53023786
SHA256: 5d61f92f53ade1e0f01b5d7655c5f536b15f59e324d71259dfa455ef4dde5b22
SHA512: 8a58f1d8cf4ed4f7ccc8e69da2a5681efc8ada06b4287692d422cd44dfbd249ba93412d5e7bd47ff0599b29c5a8a1918b0c31f9e0b1c9178b259e17da71107d7
Description: GNU Fortran 95 compiler
Description-md5: 19814cb032299ba2188b0196ece62ba3