How To Install ghc-socks on Fedora 36

In this tutorial we learn how to install ghc-socks in Fedora 36. ghc-socks is Socks proxy (ver 5)

Introduction

In this tutorial we learn how to install ghc-socks on Fedora 36.

What is ghc-socks

Socks proxy (version 5) implementation.

We can use yum or dnf to install ghc-socks on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-socks.

Install ghc-socks 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-socks using dnf by running the following command:

sudo dnf -y install ghc-socks

Install ghc-socks 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-socks using yum by running the following command:

sudo yum -y install ghc-socks

How To Uninstall ghc-socks on Fedora 36

To uninstall only the ghc-socks package we can use the following command:

sudo dnf remove ghc-socks

ghc-socks Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/4d10ce2167d935741b061da019682c3716a9a5
/usr/lib64/libHSsocks-0.6.1-DZmb69j5gnwEtSNpVUlRGy-ghc8.10.5.so
/usr/share/licenses/ghc-socks
/usr/share/licenses/ghc-socks/LICENSE

References

Summary

In this tutorial we learn how to install ghc-socks on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).