How To Install ghc-cabal-helper on Fedora 36
Introduction
In this tutorial we learn how to install ghc-cabal-helper
on Fedora 36.
What is ghc-cabal-helper
The purpose of the ‘cabal-helper’ library is to give Haskell development tools access to the same environment which build tools such as ‘cabal’ and ‘stack’ normally provide to the compiler.
We can use yum
or dnf
to install ghc-cabal-helper
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-cabal-helper.
Install ghc-cabal-helper 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-cabal-helper
using dnf
by running the following command:
sudo dnf -y install ghc-cabal-helper
Install ghc-cabal-helper 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-cabal-helper
using yum
by running the following command:
sudo yum -y install ghc-cabal-helper
How To Uninstall ghc-cabal-helper on Fedora 36
To uninstall only the ghc-cabal-helper
package we can use the following command:
sudo dnf remove ghc-cabal-helper
ghc-cabal-helper Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/6a4565027147d2ff6d7ead4fd97fed9334adc8
/usr/lib64/libHScabal-helper-1.1.0.0-8Jw8PbrXIiY4xY2BgtTtpn-ghc8.10.5.so
/usr/share/licenses/ghc-cabal-helper
/usr/share/licenses/ghc-cabal-helper/LICENSE
References
Summary
In this tutorial we learn how to install ghc-cabal-helper
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).