How To Install ghc-network-info-devel on Fedora 36

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

Introduction

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

What is ghc-network-info-devel

This package provides the Haskell network-info library development files.

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

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

sudo dnf -y install ghc-network-info-devel

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

sudo yum -y install ghc-network-info-devel

How To Uninstall ghc-network-info-devel on Fedora 36

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

sudo dnf remove ghc-network-info-devel

ghc-network-info-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/network-info-0.2.0.10
/usr/lib64/ghc-8.10.5/network-info-0.2.0.10/Network
/usr/lib64/ghc-8.10.5/network-info-0.2.0.10/Network/Info.dyn_hi
/usr/lib64/ghc-8.10.5/network-info-0.2.0.10/Network/Info.hi
/usr/lib64/ghc-8.10.5/network-info-0.2.0.10/libHSnetwork-info-0.2.0.10-9tBDnpf4RI1CDFbuwuYidN.a
/usr/lib64/ghc-8.10.5/package.conf.d/network-info-0.2.0.10.conf
/usr/share/doc/ghc-network-info-devel
/usr/share/doc/ghc-network-info-devel/CHANGELOG.md
/usr/share/doc/ghc-network-info-devel/README.mkd

References

Summary

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