How to Install and Uninstall gfortran-8 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 22,2024

1. Install "gfortran-8" package

Please follow the steps below to install gfortran-8 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gfortran-8

2. Uninstall "gfortran-8" package

Please follow the instructions below to uninstall gfortran-8 on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the gfortran-8 package on Ubuntu 21.04 (Hirsute Hippo)

Package: gfortran-8
Architecture: amd64
Version: 8.4.0-7ubuntu3
Priority: optional
Section: universe/devel
Source: gcc-8
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 26715
Provides: fortran95-compiler, gfortran-mod-15
Depends: gcc-8-base (= 8.4.0-7ubuntu3), gcc-8 (= 8.4.0-7ubuntu3), libgfortran-8-dev (= 8.4.0-7ubuntu3), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.33), libgmp10 (>= 2:5.0.1~), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gfortran-8-multilib, gfortran-8-doc, libcoarrays-dev
Filename: pool/universe/g/gcc-8/gfortran-8_8.4.0-7ubuntu3_amd64.deb
Size: 9386360
MD5sum: d23f9e1776d1e998030f994eb655e12c
SHA1: 1d1898d099e139e43bfb90d5d3cf7a7b829084f3
SHA256: 1b7be4fda42c73d173da5f84058b49f244a23fda4ebe8819125f5808c23a75ca
SHA512: ffc4084d2266845b975e812020546ac6759c33f31bbc4d44ee23a0033412f12020651393dca7806930a03e04c4a6c01245fc78f26c3c7d60480aa8717598c2b4
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