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

Last updated: July 02,2024

1. Install "gfortran-4.8" package

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

$ sudo apt update $ sudo apt install gfortran-4.8

2. Uninstall "gfortran-4.8" package

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

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

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

Package: gfortran-4.8
Architecture: amd64
Version: 4.8.5-4ubuntu8
Priority: optional
Section: universe/devel
Source: gcc-4.8
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13872
Provides: fortran95-compiler, gfortran-mod-10
Depends: gcc-4.8-base (= 4.8.5-4ubuntu8), gcc-4.8 (= 4.8.5-4ubuntu8), libgfortran-4.8-dev (= 4.8.5-4ubuntu8), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gfortran-4.8-multilib, gfortran-4.8-doc, libgfortran3-dbg (>= 4.8.5-4ubuntu8)
Filename: pool/universe/g/gcc-4.8/gfortran-4.8_4.8.5-4ubuntu8_amd64.deb
Size: 4651924
MD5sum: c0af486344b28572640f04d12cf03ab1
SHA1: c33e2806b50df0e4b984dbaa015cc05d922d7ae3
SHA256: a26623e7bdcbe0db1dc891eb7df1cfb07c508aaa046cbbcb2cc357006c4009ea
Homepage: http://gcc.gnu.org/
Description: GNU Fortran compiler
Description-md5: 5dd93c5d21d0717205bc5a3b538b0ca2