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

Last updated: May 18,2024

1. Install "gfortran-11" package

Please follow the step by step instructions below to install gfortran-11 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install gfortran-11

2. Uninstall "gfortran-11" package

Please follow the guidelines below to uninstall gfortran-11 on Ubuntu 21.10 (Impish Indri):

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

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

Package: gfortran-11
Architecture: amd64
Version: 11.2.0-7ubuntu2
Priority: optional
Section: devel
Source: gcc-11
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 155708
Provides: fortran95-compiler, gfortran-mod-15
Depends: gcc-11-base (= 11.2.0-7ubuntu2), gcc-11 (= 11.2.0-7ubuntu2), libgfortran-11-dev (= 11.2.0-7ubuntu2), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.34), libgmp10 (>= 2:5.0.1~), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.4.0), zlib1g (>= 1:1.1.4)
Suggests: gfortran-11-multilib, gfortran-11-doc, libcoarrays-dev
Filename: pool/main/g/gcc-11/gfortran-11_11.2.0-7ubuntu2_amd64.deb
Size: 55478050
MD5sum: cd3e2a8a9f339419198b7b73004146db
SHA1: a43d15f4f868bd3c5fa282245b313f9629bb9e33
SHA256: ad5a8e45699b71cba0fdb7e5a08d4c45f67f9faeba248dd77255310935f94fe1
SHA512: 8246cdc6e4e8c436e50404cd4d60bea348f93b399350b0733177e721b5d688c5ee7e8f59ae5a294b622a3e23c4ec7c90c35286c7cc6b238882fe91d775164ef6
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