How to Install and Uninstall flang-18 Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 23,2024

1. Install "flang-18" package

Please follow the guidance below to install flang-18 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install flang-18

2. Uninstall "flang-18" package

This guide covers the steps necessary to uninstall flang-18 on Ubuntu 24.04 LTS (Noble Numbat):

$ sudo apt remove flang-18 $ sudo apt autoclean && sudo apt autoremove

3. Information about the flang-18 package on Ubuntu 24.04 LTS (Noble Numbat)

Package: flang-18
Architecture: amd64
Version: 1:18.1.0~rc2-4
Priority: optional
Section: universe/devel
Source: llvm-toolchain-18
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 135177
Provides: fortran-compiler, gfortran-mod-15
Depends: libc6 (>= 2.38), libclang-cpp18 (>= 1:18.1.0~rc2), libgcc-s1 (>= 3.0), libllvm18, libstdc++6 (>= 11), libstdc++-13-dev, libgcc-13-dev, libflang-18-dev (= 1:18.1.0~rc2-4)
Filename: pool/universe/l/llvm-toolchain-18/flang-18_18.1.0~rc2-4_amd64.deb
Size: 25277374
MD5sum: 34927c63e431bf669cea5ba31a9601e4
SHA1: d55eb21d0fba71fc2ec2a7c41f06610547d26177
SHA256: 2c788cf077fa56a328ac6847dc7d11c5c405bb6c3d1fee71504bb2690fc835eb
SHA512: a3fb3f583bd54613167604411308512c143f19877f334e84445ecc4eaf3f15098c7e175e979ed29e209b428a9d94b1a033fd62e283952162791cd61d02970b53
Homepage: https://www.llvm.org/
Description: Fortran compiler
Description-md5: bd017b88c85853e1292c78015b1d62a8