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

Last updated: November 26,2024

1. Install "gfortran-10" package

This guide let you learn how to install gfortran-10 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gfortran-10

2. Uninstall "gfortran-10" package

Learn how to uninstall gfortran-10 on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: gfortran-10
Architecture: amd64
Version: 10.3.0-1ubuntu1
Priority: optional
Section: devel
Source: gcc-10
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28124
Provides: fortran95-compiler, gfortran-mod-15
Depends: gcc-10-base (= 10.3.0-1ubuntu1), gcc-10 (= 10.3.0-1ubuntu1), libgfortran-10-dev (= 10.3.0-1ubuntu1), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.33), libgmp10 (>= 2:5.0.1~), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.3.2), zlib1g (>= 1:1.1.4)
Suggests: gfortran-10-multilib, gfortran-10-doc, libcoarrays-dev
Filename: pool/main/g/gcc-10/gfortran-10_10.3.0-1ubuntu1_amd64.deb
Size: 9522600
MD5sum: 2f0512c9891b076c3108f3c8ae3d8296
SHA1: 0619d7c1c91a325fa0ed3196a2bf7b576145e708
SHA256: 973aa779c295fc442b878b626e58bc8ef1f696d4c15257a5568aab0968cb7c6d
SHA512: 8da4555059b1e6664c8a3a6aab085833271e64d2279a1eba86e280c2ff8eec5ae5a2f82f2af6112d5cf78a83ff0b6a62d5996a034a03589d880a4d60a5275bad
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