How To Install ghc-hledger on Fedora 36
Introduction
In this tutorial we learn how to install ghc-hledger
on Fedora 36.
What is ghc-hledger
This package provides the Haskell hledger shared library.
We can use yum
or dnf
to install ghc-hledger
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-hledger.
Install ghc-hledger 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-hledger
using dnf
by running the following command:
sudo dnf -y install ghc-hledger
Install ghc-hledger 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-hledger
using yum
by running the following command:
sudo yum -y install ghc-hledger
How To Uninstall ghc-hledger on Fedora 36
To uninstall only the ghc-hledger
package we can use the following command:
sudo dnf remove ghc-hledger
ghc-hledger Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/271c82a8bd833ecf38ee48cbf7920c8f504afb
/usr/lib64/libHShledger-1.21-LYaDSNgXeXz4XhzwCUl06b-ghc8.10.5.so
/usr/share/licenses/ghc-hledger
/usr/share/licenses/ghc-hledger/LICENSE
References
Summary
In this tutorial we learn how to install ghc-hledger
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).