How to Install and Uninstall gfortran-8 Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 07,2024

1. Install "gfortran-8" package

This tutorial shows how to install gfortran-8 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install gfortran-8

2. Uninstall "gfortran-8" package

Learn how to uninstall gfortran-8 on Ubuntu 21.10 (Impish Indri):

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

3. Information about the gfortran-8 package on Ubuntu 21.10 (Impish Indri)

Package: gfortran-8
Architecture: amd64
Version: 8.5.0-0ubuntu4
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: 26777
Provides: fortran95-compiler, gfortran-mod-15
Depends: gcc-8-base (= 8.5.0-0ubuntu4), gcc-8 (= 8.5.0-0ubuntu4), libgfortran-8-dev (= 8.5.0-0ubuntu4), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.34), 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.5.0-0ubuntu4_amd64.deb
Size: 10171554
MD5sum: 02c126e437f4962657fa616a8b5945dc
SHA1: 19ee2acfb3cf05af8131c7edb73207b984a57f2d
SHA256: 2fae2dd90854bdd19c2169d0c6e56cb6b1e8f2d142ae269a5fdd6142eccac0b5
SHA512: cd58a34e2047dee30df6bb69f5a85aba2769dfcc5fdc7a7cd7fdb5e07cabaec1759fe4fd74df5a197601a855f0cfd5a6649dc18ee95c6a3de17d0a5178410fd5
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