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

Last updated: May 20,2024

1. Install "flang-17" package

This guide covers the steps necessary to install flang-17 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install flang-17

2. Uninstall "flang-17" package

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

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

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

Package: flang-17
Architecture: amd64
Version: 1:17.0.6-5build1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-17
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 126601
Provides: fortran-compiler, gfortran-mod-15
Depends: libc6 (>= 2.38), libclang-cpp17 (>= 1:17.0.6), libgcc-s1 (>= 3.0), libllvm17, libstdc++6 (>= 11), libstdc++-13-dev, libgcc-13-dev, libflang-17-dev (= 1:17.0.6-5build1)
Filename: pool/universe/l/llvm-toolchain-17/flang-17_17.0.6-5build1_amd64.deb
Size: 23499156
MD5sum: 137c6c4414f5a329f0f9ea9f103e0d65
SHA1: 91d89dfd42a5468ac436123780d5e778ab4b2e8a
SHA256: 80cbf229910806a2d277e848c905d660dc9e99882008a275ab002b5c4cda2c89
SHA512: bc63b223c70ab513f6da89396156c1e1f3b212b8b48fbe9e6a86b2bdfb4478470924fdabf742df579784e96efd60bdab1af20bcca39c3434102d46d6d14ce842
Homepage: https://www.llvm.org/
Description: Fortran compiler
Description-md5: bd017b88c85853e1292c78015b1d62a8