How To Install ghc-ghc-lib-parser on Fedora 36
Introduction
In this tutorial we learn how to install ghc-ghc-lib-parser
on Fedora 36.
What is ghc-ghc-lib-parser
A package equivalent to the ‘ghc’ package, but which can be loaded on many compiler versions.
We can use yum
or dnf
to install ghc-ghc-lib-parser
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-ghc-lib-parser.
Install ghc-ghc-lib-parser 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 ghc-ghc-lib-parser
using dnf
by running the following command:
sudo dnf -y install ghc-ghc-lib-parser
Install ghc-ghc-lib-parser 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 ghc-ghc-lib-parser
using yum
by running the following command:
sudo yum -y install ghc-ghc-lib-parser
How To Uninstall ghc-ghc-lib-parser on Fedora 36
To uninstall only the ghc-ghc-lib-parser
package we can use the following command:
sudo dnf remove ghc-ghc-lib-parser
ghc-ghc-lib-parser Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/c32cb86aec5b184666fc0b4fa1ecbabae0843e
/usr/lib64/libHSghc-lib-parser-8.10.5.20210606-HUkayrq7LCAEFJubOOGvGe-ghc8.10.5.so
/usr/share/ghc-lib-parser-8.10.5.20210606
/usr/share/ghc-lib-parser-8.10.5.20210606/llvm-passes
/usr/share/ghc-lib-parser-8.10.5.20210606/llvm-targets
/usr/share/ghc-lib-parser-8.10.5.20210606/platformConstants
/usr/share/ghc-lib-parser-8.10.5.20210606/settings
/usr/share/licenses/ghc-ghc-lib-parser
/usr/share/licenses/ghc-ghc-lib-parser/LICENSE
References
Summary
In this tutorial we learn how to install ghc-ghc-lib-parser
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).