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

Last updated: June 23,2024

1. Install "gfortran-4.7" package

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

$ sudo apt update $ sudo apt install gfortran-4.7

2. Uninstall "gfortran-4.7" package

This guide covers the steps necessary to uninstall gfortran-4.7 on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: gfortran-4.7
Priority: optional
Section: universe/devel
Installed-Size: 13456
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Architecture: amd64
Source: gcc-4.7
Version: 4.7.4-3ubuntu12
Provides: fortran95-compiler
Depends: gcc-4.7-base (= 4.7.4-3ubuntu12), gcc-4.7 (= 4.7.4-3ubuntu12), libgfortran-4.7-dev (= 4.7.4-3ubuntu12), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.14), libcloog-pplv4-1, libgmp10, libmpc3, libmpfr4 (>= 3.1.3), libpplv4-c4, zlib1g (>= 1:1.1.4)
Suggests: gfortran-4.7-multilib, gfortran-4.7-doc, libgfortran3-dbg (>= 4.7.4-3ubuntu12)
Filename: pool/universe/g/gcc-4.7/gfortran-4.7_4.7.4-3ubuntu12_amd64.deb
Size: 4532264
MD5sum: 737dc9ec1a63f464519edeedd2fc3ebd
SHA1: 158770da27fedbe974386f346e0e520e2ae74eba
SHA256: 3832596d755e42c73ed292f093c96287ae4dc1d10f2867e27d9cda88d47290e7
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