How To Install ghc-http-client on Fedora 36
Introduction
In this tutorial we learn how to install ghc-http-client
on Fedora 36.
What is ghc-http-client
An HTTP client engine, intended as a base layer for more user-friendly packages, refactored from http-conduit. Note that, if you want to make HTTPS secure connections, you should use http-client-tls in addition to this library.
We can use yum
or dnf
to install ghc-http-client
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-http-client.
Install ghc-http-client 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-client
using dnf
by running the following command:
sudo dnf -y install ghc-http-client
Install ghc-http-client 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-client
using yum
by running the following command:
sudo yum -y install ghc-http-client
How To Uninstall ghc-http-client on Fedora 36
To uninstall only the ghc-http-client
package we can use the following command:
sudo dnf remove ghc-http-client
ghc-http-client Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/05a8d74e2e61be59e2aaf94efaa33b35554a4e
/usr/lib64/libHShttp-client-0.6.4.1-Hyim1Jcpm5n6YWHLTHTJwP-ghc8.10.5.so
/usr/share/licenses/ghc-http-client
/usr/share/licenses/ghc-http-client/LICENSE
References
Summary
In this tutorial we learn how to install ghc-http-client
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).