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