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

Last updated: November 26,2024

1. Install "gfortran-5" package

Please follow the steps below to install gfortran-5 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install gfortran-5

2. Uninstall "gfortran-5" package

Please follow the steps below to uninstall gfortran-5 on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: gfortran-5
Architecture: amd64
Version: 5.5.0-12ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-5
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 22173
Provides: fortran95-compiler, gfortran-mod-14
Depends: gcc-5-base (= 5.5.0-12ubuntu1), gcc-5 (= 5.5.0-12ubuntu1), libgfortran-5-dev (= 5.5.0-12ubuntu1), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl15 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gfortran-5-multilib, gfortran-5-doc, libgfortran3-dbg (>= 5.5.0-12ubuntu1)
Filename: pool/universe/g/gcc-5/gfortran-5_5.5.0-12ubuntu1_amd64.deb
Size: 8166284
MD5sum: 53ce5e9b39a59cfc84d57599a8c6f906
SHA1: bf2d225677c55ac004663d31ca2c4b06a2a91312
SHA256: 1ec2fd9ca5f0370571bd4c4d91d946d72d47776bd54a56574cb32771ce0ea2fe
Homepage: http://gcc.gnu.org/
Description: GNU Fortran compiler
Description-md5: 5dd93c5d21d0717205bc5a3b538b0ca2

5. The same packages on other Linux Distributions