How To Install ghc-network-info on Fedora 36
Introduction
In this tutorial we learn how to install ghc-network-info
on Fedora 36.
What is ghc-network-info
This library provides simple read-only access to the local computer’s networking configuration. It is currently capable of getting a list of all the network interfaces and their respective IPv4, IPv6 and MAC addresses.
We can use yum
or dnf
to install ghc-network-info
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-network-info.
Install ghc-network-info 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-network-info
using dnf
by running the following command:
sudo dnf -y install ghc-network-info
Install ghc-network-info 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-network-info
using yum
by running the following command:
sudo yum -y install ghc-network-info
How To Uninstall ghc-network-info on Fedora 36
To uninstall only the ghc-network-info
package we can use the following command:
sudo dnf remove ghc-network-info
ghc-network-info Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/79cb636369c812658a6afd352ba4e0f0f35d69
/usr/lib64/libHSnetwork-info-0.2.0.10-9tBDnpf4RI1CDFbuwuYidN-ghc8.10.5.so
/usr/share/licenses/ghc-network-info
/usr/share/licenses/ghc-network-info/LICENSE
References
Summary
In this tutorial we learn how to install ghc-network-info
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).