How To Install ghc-http-directory on Fedora 36
Introduction
In this tutorial we learn how to install ghc-http-directory on Fedora 36.
What is ghc-http-directory
Library for listing the files (href’s) in an http directory. It can also check the size, existence, modtime of files, and for url redirects.
We can use yum or dnf to install ghc-http-directory on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-http-directory.
Install ghc-http-directory 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-http-directory using dnf by running the following command:
sudo dnf -y install ghc-http-directory
Install ghc-http-directory 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-http-directory using yum by running the following command:
sudo yum -y install ghc-http-directory
How To Uninstall ghc-http-directory on Fedora 36
To uninstall only the ghc-http-directory package we can use the following command:
sudo dnf remove ghc-http-directory
ghc-http-directory Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/02045abeaf66b46d68d5542955dfc58313fae2
/usr/lib64/libHShttp-directory-0.1.9-JmOIETnxPCtHhs0EqlVU2f-ghc8.10.5.so
/usr/share/licenses/ghc-http-directory
/usr/share/licenses/ghc-http-directory/LICENSE
References
Summary
In this tutorial we learn how to install ghc-http-directory on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).