How to Install and Uninstall flang-7 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: April 25,2024

1. Install "flang-7" package

Please follow the guidance below to install flang-7 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install flang-7

2. Uninstall "flang-7" package

This is a short guide on how to uninstall flang-7 on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the flang-7 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: flang-7
Architecture: amd64
Version: 20190329-5
Priority: optional
Section: universe/devel
Source: flang
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 46792
Provides: flang, flang-mod-34, fortran-compiler
Depends: libc6 (>= 2.29), libgcc-s1 (>= 3.4), libllvm7 (>= 1:7~svn298832-1~), libstdc++6 (>= 9), libflang0d-7 (= 20190329-5), libflang-dev (= 20190329-5), libomp-7-dev
Filename: pool/universe/f/flang/flang-7_20190329-5_amd64.deb
Size: 12865440
MD5sum: 7c9491f370a9c7ad3d323c47071dc7ec
SHA1: 65d15d30f08eea51278ad787c50f78ec89468024
SHA256: f9010e10e3c9cc676faf8b36d6c6463422a91a083481791f9f50f0954e42cd17
Homepage: https://github.com/flang-compiler/flang
Description: Fortran compiler front-end for LLVM
Description-md5: 41ce6fe0cd56359e372d321874272ed0