How To Install flang on Fedora 36
Introduction
In this tutorial we learn how to install flang
on Fedora 36.
What is flang
Flang is a ground-up implementation of a Fortran front end written in modern C++.
We can use yum
or dnf
to install flang
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install flang.
Install flang on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install flang
using dnf
by running the following command:
sudo dnf -y install flang
Install flang on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install flang
using yum
by running the following command:
sudo yum -y install flang
How To Uninstall flang on Fedora 36
To uninstall only the flang
package we can use the following command:
sudo dnf remove flang
flang Package Contents on Fedora 36
/usr/bin/bbc
/usr/bin/fir-opt
/usr/bin/flang
/usr/bin/flang-new
/usr/bin/tco
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/5abef9e7854de453bdfdd7ab6d820c3fd95b65
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/d401e3bae3877d93395a8adb4bfe1dff251e35
/usr/lib/.build-id/27
/usr/lib/.build-id/27/db6f82e71eb353979e941e5d30e1bddcb0a178
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/6e01c85f113c1ab28a3b7572b1a21ffe02df0c
/usr/lib/.build-id/31
/usr/lib/.build-id/31/6db4bd710cb7563dd5b8af6f9b71d778457183
/usr/lib/.build-id/41
/usr/lib/.build-id/41/4e6541f56dc1f3fe7348c6fea38ccbc6e82edc
/usr/lib/.build-id/42
/usr/lib/.build-id/42/f864fc187d11839ad22a6f49f9cec290e52aaa
/usr/lib/.build-id/52
/usr/lib/.build-id/52/da3248809d6b3727f9eafe363b322ccd74ff8d
/usr/lib/.build-id/61
/usr/lib/.build-id/61/3372347f58f15f41ad821b73907048315d006f
/usr/lib/.build-id/66
/usr/lib/.build-id/66/409e5782bed24329d8107a51d8c3588504485f
/usr/lib/.build-id/73
/usr/lib/.build-id/73/6c6ba8d9116d7ce207fb751a86b087966e62f9
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/2ba14610415fc3c6cb2c0fd12a1704a5c78022
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/3ef0b2232c0f4bad082152261204a52acebbee
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/a67d9aeb376793915b59839227bee3d23b4765
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/ac15a03dac405cf21bb2c810bd378e29bb8f86
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/97157681de488c2eb565dbeaf088c90f0120d9
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/9ed251d0120da56cc17a24773c8ed31005de74
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/8a7643fe3acb7dc2d28238732a162e7175cf55
/usr/lib64/libFIRBuilder.so.14
/usr/lib64/libFIRCodeGen.so.14
/usr/lib64/libFIRDialect.so.14
/usr/lib64/libFIRSupport.so.14
/usr/lib64/libFIRTransforms.so.14
/usr/lib64/libFortranCommon.so.14
/usr/lib64/libFortranDecimal.so.14
/usr/lib64/libFortranEvaluate.so.14
/usr/lib64/libFortranLower.so.14
/usr/lib64/libFortranParser.so.14
/usr/lib64/libFortranRuntime.so.14
/usr/lib64/libFortranSemantics.so.14
/usr/lib64/libflangFrontend.so.14
/usr/lib64/libflangFrontendTool.so.14
/usr/share/licenses/flang
/usr/share/licenses/flang/LICENSE.TXT
References
Summary
In this tutorial we learn how to install flang
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).