How To Install ghc-haskell-lexer-prof on Fedora 36

In this tutorial we learn how to install ghc-haskell-lexer-prof in Fedora 36. ghc-haskell-lexer-prof is Haskell haskell-lexer profiling library

Introduction

In this tutorial we learn how to install ghc-haskell-lexer-prof on Fedora 36.

What is ghc-haskell-lexer-prof

This package provides the Haskell haskell-lexer profiling library.

We can use yum or dnf to install ghc-haskell-lexer-prof on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-haskell-lexer-prof.

Install ghc-haskell-lexer-prof 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-prof using dnf by running the following command:

sudo dnf -y install ghc-haskell-lexer-prof

Install ghc-haskell-lexer-prof 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-prof using yum by running the following command:

sudo yum -y install ghc-haskell-lexer-prof

How To Uninstall ghc-haskell-lexer-prof on Fedora 36

To uninstall only the ghc-haskell-lexer-prof package we can use the following command:

sudo dnf remove ghc-haskell-lexer-prof

ghc-haskell-lexer-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/haskell-lexer-1.1/Language/Haskell/Lexer.p_hi
/usr/lib64/ghc-8.10.5/haskell-lexer-1.1/Language/Haskell/Lexer/Layout.p_hi
/usr/lib64/ghc-8.10.5/haskell-lexer-1.1/Language/Haskell/Lexer/Lex.p_hi
/usr/lib64/ghc-8.10.5/haskell-lexer-1.1/Language/Haskell/Lexer/Position.p_hi
/usr/lib64/ghc-8.10.5/haskell-lexer-1.1/Language/Haskell/Lexer/Tokens.p_hi
/usr/lib64/ghc-8.10.5/haskell-lexer-1.1/Language/Haskell/Lexer/Utils.p_hi
/usr/lib64/ghc-8.10.5/haskell-lexer-1.1/libHShaskell-lexer-1.1-7oPlfVo8NPkJMo7wLz4t6q_p.a

References

Summary

In this tutorial we learn how to install ghc-haskell-lexer-prof on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).