How To Install ghc-bencode-prof on Fedora 36

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

Introduction

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

What is ghc-bencode-prof

This package provides the Haskell bencode profiling library.

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

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

sudo dnf -y install ghc-bencode-prof

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

sudo yum -y install ghc-bencode-prof

How To Uninstall ghc-bencode-prof on Fedora 36

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

sudo dnf remove ghc-bencode-prof

ghc-bencode-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/Data/BEncode.p_hi
/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/Data/BEncode/Lexer.p_hi
/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/Data/BEncode/Parser.p_hi
/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/Data/BEncode/Reader.p_hi
/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/libHSbencode-0.6.1.1-AcqRCgHoKjF5uDEum54Bzu_p.a

References

Summary

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