How To Install ghc-network-byte-order on Fedora 36

In this tutorial we learn how to install ghc-network-byte-order in Fedora 36. ghc-network-byte-order is Network byte order utilities

Introduction

In this tutorial we learn how to install ghc-network-byte-order on Fedora 36.

What is ghc-network-byte-order

Peek and poke functions for network byte order.

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

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

sudo dnf -y install ghc-network-byte-order

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

sudo yum -y install ghc-network-byte-order

How To Uninstall ghc-network-byte-order on Fedora 36

To uninstall only the ghc-network-byte-order package we can use the following command:

sudo dnf remove ghc-network-byte-order

ghc-network-byte-order Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/6c70448206e003939c0b9a8f73b2500ac582cc
/usr/lib64/libHSnetwork-byte-order-0.1.6-1zU1VdSkagJ1wpX2Bs2t9-ghc8.10.5.so
/usr/share/licenses/ghc-network-byte-order
/usr/share/licenses/ghc-network-byte-order/LICENSE

References

Summary

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