How To Install ghc-haskell-lexer on Fedora 36
Introduction
In this tutorial we learn how to install ghc-haskell-lexer
on Fedora 36.
What is ghc-haskell-lexer
A fully compliant Haskell 98 lexer.
We can use yum
or dnf
to install ghc-haskell-lexer
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-haskell-lexer.
Install ghc-haskell-lexer 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-haskell-lexer
using dnf
by running the following command:
sudo dnf -y install ghc-haskell-lexer
Install ghc-haskell-lexer 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-haskell-lexer
using yum
by running the following command:
sudo yum -y install ghc-haskell-lexer
How To Uninstall ghc-haskell-lexer on Fedora 36
To uninstall only the ghc-haskell-lexer
package we can use the following command:
sudo dnf remove ghc-haskell-lexer
ghc-haskell-lexer Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/a43041da9f11c0b11393f4d49d490327c76971
/usr/lib64/libHShaskell-lexer-1.1-7oPlfVo8NPkJMo7wLz4t6q-ghc8.10.5.so
/usr/share/licenses/ghc-haskell-lexer
/usr/share/licenses/ghc-haskell-lexer/LICENSE
References
Summary
In this tutorial we learn how to install ghc-haskell-lexer
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).