How To Install ghc-pcap-devel on Fedora 36
Introduction
In this tutorial we learn how to install ghc-pcap-devel
on Fedora 36.
What is ghc-pcap-devel
This package provides the Haskell pcap library development files.
We can use yum
or dnf
to install ghc-pcap-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-pcap-devel.
Install ghc-pcap-devel 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-pcap-devel
using dnf
by running the following command:
sudo dnf -y install ghc-pcap-devel
Install ghc-pcap-devel 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-pcap-devel
using yum
by running the following command:
sudo yum -y install ghc-pcap-devel
How To Uninstall ghc-pcap-devel on Fedora 36
To uninstall only the ghc-pcap-devel
package we can use the following command:
sudo dnf remove ghc-pcap-devel
ghc-pcap-devel Package Contents on Fedora 36
/usr/lib64/ghc-8.10.5/package.conf.d/pcap-0.4.5.2.conf
/usr/lib64/ghc-8.10.5/pcap-0.4.5.2
/usr/lib64/ghc-8.10.5/pcap-0.4.5.2/Network
/usr/lib64/ghc-8.10.5/pcap-0.4.5.2/Network/Pcap
/usr/lib64/ghc-8.10.5/pcap-0.4.5.2/Network/Pcap.dyn_hi
/usr/lib64/ghc-8.10.5/pcap-0.4.5.2/Network/Pcap.hi
/usr/lib64/ghc-8.10.5/pcap-0.4.5.2/Network/Pcap/Base.dyn_hi
/usr/lib64/ghc-8.10.5/pcap-0.4.5.2/Network/Pcap/Base.hi
/usr/lib64/ghc-8.10.5/pcap-0.4.5.2/include
/usr/lib64/ghc-8.10.5/pcap-0.4.5.2/include/pcapconfig.h
/usr/lib64/ghc-8.10.5/pcap-0.4.5.2/libHSpcap-0.4.5.2-LfYMTQevFTj2Xp0fRa6cFp.a
/usr/share/doc/ghc-pcap-devel
/usr/share/doc/ghc-pcap-devel/README.markdown
References
Summary
In this tutorial we learn how to install ghc-pcap-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).