How to Install and Uninstall gfortran-5 Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: June 23,2024

1. Install "gfortran-5" package

Please follow the step by step instructions below to install gfortran-5 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install gfortran-5

2. Uninstall "gfortran-5" package

Please follow the step by step instructions below to uninstall gfortran-5 on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the gfortran-5 package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: gfortran-5
Architecture: amd64
Version: 5.4.0-6ubuntu1~16.04.12
Priority: optional
Section: devel
Source: gcc-5
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 22255
Provides: fortran95-compiler, gfortran-mod-14
Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.12), gcc-5 (= 5.4.0-6ubuntu1~16.04.12), libgfortran-5-dev (= 5.4.0-6ubuntu1~16.04.12), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl15 (>= 0.15), libmpc3, libmpfr4 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gfortran-5-multilib, gfortran-5-doc, libgfortran3-dbg (>= 5.4.0-6ubuntu1~16.04.12)
Filename: pool/main/g/gcc-5/gfortran-5_5.4.0-6ubuntu1~16.04.12_amd64.deb
Size: 8158364
MD5sum: 5f521fa3fce402858e5fe2676aa67811
SHA1: 98d3e677932aeecd07d92e8730d3607d9189cb4a
SHA256: 797a58396da561d10d7a8292ac0f11c51017e4e8fb301dfc52446fd001225a13
SHA512: a5c7316bc299475e2ac0a230107fb11c27069d2da540236c496093b474aa31a9070be7ad27608729c88f7d6184f0e70bc1f72e292e4f40eb2bd625f1807de355
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
Supported: 5y

Package: gfortran-5
Priority: optional
Section: devel
Installed-Size: 22267
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Architecture: amd64
Source: gcc-5
Version: 5.3.1-14ubuntu2
Provides: fortran95-compiler, gfortran-mod-14
Depends: gcc-5-base (= 5.3.1-14ubuntu2), gcc-5 (= 5.3.1-14ubuntu2), libgfortran-5-dev (= 5.3.1-14ubuntu2), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl15 (>= 0.15), libmpc3, libmpfr4 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gfortran-5-multilib, gfortran-5-doc, libgfortran3-dbg (>= 5.3.1-14ubuntu2)
Filename: pool/main/g/gcc-5/gfortran-5_5.3.1-14ubuntu2_amd64.deb
Size: 8163326
MD5sum: db64ae9a880f26d5688a4eb70ee7a794
SHA1: aecb590a5c5130cfd799cc062b1f9c65ef384477
SHA256: 4345f1ef3f13e79e7ed69782a64e0e1e8933db01c156e7cf86274d054b005d78
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
Homepage: http://gcc.gnu.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y

5. The same packages on other Linux Distributions