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

Last updated: June 23,2024

1. Install "gfortran-4.8" package

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

$ sudo apt update $ sudo apt install gfortran-4.8

2. Uninstall "gfortran-4.8" package

In this section, we are going to explain the necessary steps to uninstall gfortran-4.8 on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: gfortran-4.8
Priority: optional
Section: universe/devel
Installed-Size: 14754
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Architecture: amd64
Source: gcc-4.8
Version: 4.8.5-4ubuntu2
Provides: fortran95-compiler, gfortran-mod-10
Depends: gcc-4.8-base (= 4.8.5-4ubuntu2), gcc-4.8 (= 4.8.5-4ubuntu2), libgfortran-4.8-dev (= 4.8.5-4ubuntu2), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.14), libcloog-isl4 (>= 0.17), libgmp10 (>= 2:5.0.1~), libisl15 (>= 0.15), libmpc3, libmpfr4 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gfortran-4.8-multilib, gfortran-4.8-doc, libgfortran3-dbg (>= 4.8.5-4ubuntu2)
Filename: pool/universe/g/gcc-4.8/gfortran-4.8_4.8.5-4ubuntu2_amd64.deb
Size: 4884528
MD5sum: 737d146787fe17df80ba6e29b642295d
SHA1: 41a932ff8c5e10e6e4aa7d615b7d03d7a0bc610b
SHA256: 5d95f58c40b8b0c5c133d0a9f368ac39204f6eb2ad6f77dd67b7e9d9bdd38312
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