How To Install ghc-base on Fedora 36
In this tutorial we learn how to install ghc-base in Fedora 36. ghc-base is Haskell base library
Introduction
In this tutorial we learn how to install ghc-base
on Fedora 36.
What is ghc-base
This package provides the Haskell base library.
We can use yum
or dnf
to install ghc-base
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-base.
Install ghc-base 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-base
using dnf
by running the following command:
sudo dnf -y install ghc-base
Install ghc-base 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-base
using yum
by running the following command:
sudo yum -y install ghc-base
How To Uninstall ghc-base on Fedora 36
To uninstall only the ghc-base
package we can use the following command:
sudo dnf remove ghc-base
ghc-base Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/edbbebcf668e9e6ad7c120bd9e408d85a24e46
/usr/lib/.build-id/51
/usr/lib/.build-id/51/9ce55c3f746e64309f2172a1328af973d698fe
/usr/lib/.build-id/57
/usr/lib/.build-id/57/1b69ad5cde3120f89afc25394519ba57e7b381
/usr/lib/.build-id/57/da8d89d11e5177b1cbd17e78194adc4b37780d
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/095a80b92a9e1f409049790ab0afeeba192c08
/usr/lib/.build-id/73
/usr/lib/.build-id/73/9e7f4c1172308d644bd926ac0ee7e7bbe01723
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/2760a3546d8d569e813e6df5ecda667b5aba40
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/060317a183d9d218ca952365ec0c498c1c4e1a
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/89b7a5f7d3e5a47f5193092bbfeae65adb2024
/usr/lib64/libHSbase-4.14.2.0-ghc8.10.5.so
/usr/lib64/libHSghc-prim-0.6.1-ghc8.10.5.so
/usr/lib64/libHSinteger-gmp-1.0.3.0-ghc8.10.5.so
/usr/lib64/libHSrts-ghc8.10.5.so
/usr/lib64/libHSrts_debug-ghc8.10.5.so
/usr/lib64/libHSrts_l-ghc8.10.5.so
/usr/lib64/libHSrts_thr-ghc8.10.5.so
/usr/lib64/libHSrts_thr_debug-ghc8.10.5.so
/usr/lib64/libHSrts_thr_l-ghc8.10.5.so
/usr/share/licenses/ghc-base
/usr/share/licenses/ghc-base/LICENSE
/usr/share/licenses/ghc-base/LICENSE.ghc-prim
/usr/share/licenses/ghc-base/LICENSE.integer-gmp
References
Summary
In this tutorial we learn how to install ghc-base
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).