How to Install and Uninstall gfortran-7 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: July 07,2024

1. Install "gfortran-7" package

Here is a brief guide to show you how to install gfortran-7 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install gfortran-7

2. Uninstall "gfortran-7" package

In this section, we are going to explain the necessary steps to uninstall gfortran-7 on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the gfortran-7 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: gfortran-7
Architecture: amd64
Version: 7.5.0-3ubuntu1~18.04
Priority: optional
Section: devel
Source: gcc-7
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 24951
Provides: fortran95-compiler, gfortran-mod-14
Depends: gcc-7-base (= 7.5.0-3ubuntu1~18.04), gcc-7 (= 7.5.0-3ubuntu1~18.04), libgfortran-7-dev (= 7.5.0-3ubuntu1~18.04), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl19 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gfortran-7-multilib, gfortran-7-doc, libgfortran4-dbg (>= 7.5.0-3ubuntu1~18.04), libcoarrays-dev
Filename: pool/main/g/gcc-7/gfortran-7_7.5.0-3ubuntu1~18.04_amd64.deb
Size: 9014104
MD5sum: e10c2b6b8454571fa5079e9f8677bf47
SHA1: 22491752d395531b214c84312aa34e6f658c90f4
SHA256: 00b087c116c89a6ee9da92bf2e6f38dd4e06f4ad951d15f4c3fbb329bbc057ce
SHA512: 288b3937a64181c2b264a3c2bc1dd63f2fab5410553716bfb6cc607a39b2cb16b8c8594d8f318d37bcc109be61a70589237aee44915b668b05fa73fd4b79d094
Homepage: http://gcc.gnu.org/
Description: GNU Fortran compiler
Description-md5: 5dd93c5d21d0717205bc5a3b538b0ca2
Supported: 5y

Package: gfortran-7
Architecture: amd64
Version: 7.3.0-16ubuntu3
Priority: optional
Section: devel
Source: gcc-7
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 23604
Provides: fortran95-compiler, gfortran-mod-14
Depends: gcc-7-base (= 7.3.0-16ubuntu3), gcc-7 (= 7.3.0-16ubuntu3), libgfortran-7-dev (= 7.3.0-16ubuntu3), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl19 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gfortran-7-multilib, gfortran-7-doc, libgfortran4-dbg (>= 7.3.0-16ubuntu3), libcoarrays-dev
Filename: pool/main/g/gcc-7/gfortran-7_7.3.0-16ubuntu3_amd64.deb
Size: 7101440
MD5sum: 01e236d374d4f9cafae2180e29d6d502
SHA1: 730db98430237e002ca381a260c5fa8ad8f1f34e
SHA256: e2481dd52a27173f4f1786a8412be6b86b7c16eddb5e92b96db04b08cbbc16db
Homepage: http://gcc.gnu.org/
Description: GNU Fortran compiler
Description-md5: 5dd93c5d21d0717205bc5a3b538b0ca2
Supported: 5y