How To Install ghc-disk-free-space on Fedora 36

In this tutorial we learn how to install ghc-disk-free-space in Fedora 36. ghc-disk-free-space is Retrieve information about disk space usage

Introduction

In this tutorial we learn how to install ghc-disk-free-space on Fedora 36.

What is ghc-disk-free-space

A cross-platform library retrieve information about disk space usage.

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

Install ghc-disk-free-space 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-disk-free-space using dnf by running the following command:

sudo dnf -y install ghc-disk-free-space

Install ghc-disk-free-space 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-disk-free-space using yum by running the following command:

sudo yum -y install ghc-disk-free-space

How To Uninstall ghc-disk-free-space on Fedora 36

To uninstall only the ghc-disk-free-space package we can use the following command:

sudo dnf remove ghc-disk-free-space

ghc-disk-free-space Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/2b8e592c79193e6b9a9b7b48122d6322079093
/usr/lib64/libHSdisk-free-space-0.1.0.1-DZi91OhkegKJ6PLMT1MwiL-ghc8.10.5.so
/usr/share/licenses/ghc-disk-free-space
/usr/share/licenses/ghc-disk-free-space/LICENSE

References

Summary

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