How To Install ghc-bencode-devel on Fedora 36

In this tutorial we learn how to install ghc-bencode-devel in Fedora 36. ghc-bencode-devel is Haskell bencode library development files

Introduction

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

What is ghc-bencode-devel

This package provides the Haskell bencode library development files.

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

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

sudo dnf -y install ghc-bencode-devel

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

sudo yum -y install ghc-bencode-devel

How To Uninstall ghc-bencode-devel on Fedora 36

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

sudo dnf remove ghc-bencode-devel

ghc-bencode-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/bencode-0.6.1.1
/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/Data
/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/Data/BEncode
/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/Data/BEncode.dyn_hi
/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/Data/BEncode.hi
/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/Data/BEncode/Lexer.dyn_hi
/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/Data/BEncode/Lexer.hi
/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/Data/BEncode/Parser.dyn_hi
/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/Data/BEncode/Parser.hi
/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/Data/BEncode/Reader.dyn_hi
/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/Data/BEncode/Reader.hi
/usr/lib64/ghc-8.10.5/bencode-0.6.1.1/libHSbencode-0.6.1.1-AcqRCgHoKjF5uDEum54Bzu.a
/usr/lib64/ghc-8.10.5/package.conf.d/bencode-0.6.1.1.conf
/usr/share/doc/ghc-bencode-devel
/usr/share/doc/ghc-bencode-devel/README.md

References

Summary

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