How to Install and Uninstall gfortran Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 26,2024

1. Install "gfortran" package

Please follow the steps below to install gfortran on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install gfortran

2. Uninstall "gfortran" package

Please follow the steps below to uninstall gfortran on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the gfortran package on Ubuntu 20.10 (Groovy Gorilla)

Package: gfortran
Architecture: amd64
Version: 4:10.2.0-1ubuntu1
Priority: optional
Section: devel
Source: gcc-defaults (1.189ubuntu1)
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:10.2.0-1ubuntu1), gcc (= 4:10.2.0-1ubuntu1), gfortran-10 (>= 10.2.0-8~)
Suggests: gfortran-multilib, gfortran-doc
Filename: pool/main/g/gcc-defaults/gfortran_10.2.0-1ubuntu1_amd64.deb
Size: 1372
MD5sum: 51369c7b4d8edabec471447099df94f5
SHA1: aa75a0764f4fd381f6cfbde50de635adb41c9a25
SHA256: accd87ed3a0540fec4fcd04e40ffaa65b62f7d1ff8c0074d2bad5be0de3c9bf9
SHA512: 96f64ee2b4e274d8c83a5e409ccc6e4037c20994f42b1545735ca36573e27838d9da9cb07c0b374e31ff8b49b9be5ecc3b71d77f97505f7c21b2aedfe31d3771
Description-en: GNU Fortran 95 compiler
This is the GNU Fortran 95 compiler, which compiles Fortran 95 on platforms
supported by the gcc compiler. It uses the gcc backend to generate optimized
code.
.
This is a dependency package providing the default GNU Fortran 95 compiler.
Description-md5: 19814cb032299ba2188b0196ece62ba3