How To Install ghc-http-common on Fedora 36
Introduction
In this tutorial we learn how to install ghc-http-common
on Fedora 36.
What is ghc-http-common
/Overview/ Base types used by a variety of HTTP clients and servers. See http-streams “Network.Http.Client” or pipes-http “Pipes.Http.Client” for full documentation. You can import ‘Network.Http.Types’ if you like, but both http-streams and pipes-http re-export this package’s types and functions.
We can use yum
or dnf
to install ghc-http-common
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-http-common.
Install ghc-http-common 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-common
using dnf
by running the following command:
sudo dnf -y install ghc-http-common
Install ghc-http-common 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-common
using yum
by running the following command:
sudo yum -y install ghc-http-common
How To Uninstall ghc-http-common on Fedora 36
To uninstall only the ghc-http-common
package we can use the following command:
sudo dnf remove ghc-http-common
ghc-http-common Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/92
/usr/lib/.build-id/92/32def5b608d9a92300bbe681f030a06857d900
/usr/lib64/libHShttp-common-0.8.2.1-HDA8ur11XuOFSJkudqqBJx-ghc8.10.5.so
/usr/share/licenses/ghc-http-common
/usr/share/licenses/ghc-http-common/LICENSE
References
Summary
In this tutorial we learn how to install ghc-http-common
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).