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

Last updated: May 14,2024

1. Install "flang-16" package

Here is a brief guide to show you how to install flang-16 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install flang-16

2. Uninstall "flang-16" package

Please follow the instructions below to uninstall flang-16 on Ubuntu 24.04 LTS (Noble Numbat):

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

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

Package: flang-16
Architecture: amd64
Version: 1:16.0.6-19build1
Priority: optional
Section: universe/devel
Source: llvm-toolchain-16
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 104450
Provides: fortran-compiler, gfortran-mod-15
Depends: libc6 (>= 2.38), libclang-cpp16 (>= 1:16.0.6), libgcc-s1 (>= 3.0), libllvm16, libstdc++6 (>= 11), libstdc++-13-dev, libgcc-13-dev, libflang-16-dev (= 1:16.0.6-19build1)
Filename: pool/universe/l/llvm-toolchain-16/flang-16_16.0.6-19build1_amd64.deb
Size: 19602272
MD5sum: 2c70a7ff059bb7e604f1d5c61363c881
SHA1: 71bd50ef54dbcfad361dec03d1bc3150d858b8d6
SHA256: 1401a99da1e7225e07e608efd1f6b762c6cfa682bd39dbcb19d1d2b98793aec0
SHA512: 95ff1fa06224a27f50a17c0a41aaa9d949b9beec89d534277347dff78cc9d6128670b8cb13320426a7753859d060f79e21c9f8ab2059a02f04ba6dca69d76998
Homepage: https://www.llvm.org/
Description: Fortran compiler
Description-md5: bd017b88c85853e1292c78015b1d62a8