How To Install ghc-bencode on Fedora 36
Introduction
In this tutorial we learn how to install ghc-bencode
on Fedora 36.
What is ghc-bencode
Parsers and printers for bencoded data. Bencode (pronounced like B encode) is the encoding used by the peer-to-peer file sharing system BitTorrent for storing and transmitting loosely structured data.
We can use yum
or dnf
to install ghc-bencode
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-bencode.
Install ghc-bencode 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-bencode
using dnf
by running the following command:
sudo dnf -y install ghc-bencode
Install ghc-bencode 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-bencode
using yum
by running the following command:
sudo yum -y install ghc-bencode
How To Uninstall ghc-bencode on Fedora 36
To uninstall only the ghc-bencode
package we can use the following command:
sudo dnf remove ghc-bencode
ghc-bencode Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/93
/usr/lib/.build-id/93/7ff419b624913afc09743a8f62bef2ca2122fe
/usr/lib64/libHSbencode-0.6.1.1-AcqRCgHoKjF5uDEum54Bzu-ghc8.10.5.so
/usr/share/licenses/ghc-bencode
/usr/share/licenses/ghc-bencode/LICENSE
References
Summary
In this tutorial we learn how to install ghc-bencode
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).