How to Install and Uninstall gfortran-for-host Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 25,2024

1. Install "gfortran-for-host" package

This guide covers the steps necessary to install gfortran-for-host on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install gfortran-for-host

2. Uninstall "gfortran-for-host" package

Please follow the steps below to uninstall gfortran-for-host on Ubuntu 24.04 LTS (Noble Numbat):

$ sudo apt remove gfortran-for-host $ sudo apt autoclean && sudo apt autoremove

3. Information about the gfortran-for-host package on Ubuntu 24.04 LTS (Noble Numbat)

Package: gfortran-for-host
Architecture: amd64
Version: 4:13.2.0-7ubuntu1
Multi-Arch: same
Priority: optional
Section: devel
Source: gcc-defaults (1.214ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6
Depends: cpp-x86-64-linux-gnu (= 4:13.2.0-7ubuntu1), gcc-x86-64-linux-gnu (= 4:13.2.0-7ubuntu1), gcc-for-host (= 4:13.2.0-7ubuntu1), gfortran-13-for-host (>= 13.2.0-11~), gfortran-x86-64-linux-gnu (= 4:13.2.0-7ubuntu1)
Filename: pool/main/g/gcc-defaults/gfortran-for-host_13.2.0-7ubuntu1_amd64.deb
Size: 948
MD5sum: 1f590ae18d72d4b424c2e1397547f93f
SHA1: a29dd9c7703ba9cf768e67317d01f025576cc619
SHA256: e5fbb83c8ed37268a39f5dee59da08a9c23b697f45f63bfb3744a1af54913dc2
SHA512: 649f5a448989b0a24f8588358168026785920a81832c3f5000e470079b8c291ad3830e2be4651d42efe37081f2112c920136b9aa5004839fd29e5a3b18445c39
Description: GNU Fortran 95 compiler for the host architecture
Description-md5: a1b735891cefbe0f6155eab88fd73d8c

5. The same packages on other Linux Distributions