How To Install ghc-curl on Fedora 36
Introduction
In this tutorial we learn how to install ghc-curl
on Fedora 36.
What is ghc-curl
Libcurl is a client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE. libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, Kerberos4), file transfer resume, http proxy tunneling and more! This package provides a Haskell binding to libcurl.
We can use yum
or dnf
to install ghc-curl
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-curl.
Install ghc-curl 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-curl
using dnf
by running the following command:
sudo dnf -y install ghc-curl
Install ghc-curl 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-curl
using yum
by running the following command:
sudo yum -y install ghc-curl
How To Uninstall ghc-curl on Fedora 36
To uninstall only the ghc-curl
package we can use the following command:
sudo dnf remove ghc-curl
ghc-curl Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/240f6c5162e8545e1c381fe7a9335eb6b60466
/usr/lib64/libHScurl-1.3.8-IHLZ86WpOZLDtCoHPSD5F-ghc8.10.5.so
/usr/share/licenses/ghc-curl
/usr/share/licenses/ghc-curl/LICENSE
References
Summary
In this tutorial we learn how to install ghc-curl
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).