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

Last updated: December 25,2024

1. Install "gfortran-7" package

This guide covers the steps necessary to install gfortran-7 on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install gfortran-7

2. Uninstall "gfortran-7" package

Please follow the step by step instructions below to uninstall gfortran-7 on Ubuntu 20.10 (Groovy Gorilla):

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

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

Package: gfortran-7
Architecture: amd64
Version: 7.5.0-6ubuntu3
Priority: optional
Section: universe/devel
Source: gcc-7
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 25011
Provides: fortran95-compiler, gfortran-mod-14
Depends: gcc-7-base (= 7.5.0-6ubuntu3), gcc-7 (= 7.5.0-6ubuntu3), libgfortran-7-dev (= 7.5.0-6ubuntu3), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gfortran-7-multilib, gfortran-7-doc, libcoarrays-dev
Filename: pool/universe/g/gcc-7/gfortran-7_7.5.0-6ubuntu3_amd64.deb
Size: 9039772
MD5sum: 7e4d61a3306efd6a06183c3b078d46b9
SHA1: 6a2c9924c798c320aeadc21b3893af1b451f944e
SHA256: 9d2712ebc6c22f429879d6c677e05dae87774a2e284e21ed1ae3cefd3632ae2f
SHA512: a1b827a54ccdc9f1ce08363f48800a32d1b52774eed04401759e04321fef6e6538bf7fc856afb7282866abf78e337b681982efb0c8ced7d7be8efec71c8d5e07
Homepage: http://gcc.gnu.org/
Description-en: GNU Fortran compiler
This is the GNU Fortran compiler, which compiles
Fortran on platforms supported by the gcc compiler. It uses the
gcc backend to generate optimized code.
Description-md5: 5dd93c5d21d0717205bc5a3b538b0ca2