How To Install ghc-tar-prof on Fedora 36

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

Introduction

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

What is ghc-tar-prof

This package provides the Haskell tar profiling library.

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

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

sudo dnf -y install ghc-tar-prof

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

sudo yum -y install ghc-tar-prof

How To Uninstall ghc-tar-prof on Fedora 36

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

sudo dnf remove ghc-tar-prof

ghc-tar-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/tar-0.5.1.1/Codec/Archive/Tar.p_hi
/usr/lib64/ghc-8.10.5/tar-0.5.1.1/Codec/Archive/Tar/Check.p_hi
/usr/lib64/ghc-8.10.5/tar-0.5.1.1/Codec/Archive/Tar/Entry.p_hi
/usr/lib64/ghc-8.10.5/tar-0.5.1.1/Codec/Archive/Tar/Index.p_hi
/usr/lib64/ghc-8.10.5/tar-0.5.1.1/Codec/Archive/Tar/Index/IntTrie.p_hi
/usr/lib64/ghc-8.10.5/tar-0.5.1.1/Codec/Archive/Tar/Index/StringTable.p_hi
/usr/lib64/ghc-8.10.5/tar-0.5.1.1/Codec/Archive/Tar/Pack.p_hi
/usr/lib64/ghc-8.10.5/tar-0.5.1.1/Codec/Archive/Tar/Read.p_hi
/usr/lib64/ghc-8.10.5/tar-0.5.1.1/Codec/Archive/Tar/Types.p_hi
/usr/lib64/ghc-8.10.5/tar-0.5.1.1/Codec/Archive/Tar/Unpack.p_hi
/usr/lib64/ghc-8.10.5/tar-0.5.1.1/Codec/Archive/Tar/Write.p_hi
/usr/lib64/ghc-8.10.5/tar-0.5.1.1/libHStar-0.5.1.1-8hLo2CSPE6OJGMHwTpVd1P_p.a

References

Summary

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