How To Install ghc-shelly on Fedora 36

In this tutorial we learn how to install ghc-shelly in Fedora 36. ghc-shelly is Shell-like (systems) programming in Haskell

Introduction

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

What is ghc-shelly

Shelly provides convenient systems programming in Haskell, similar in spirit to POSIX shells. Shelly * is aimed at convenience and getting things done rather than being a demonstration of elegance. * has detailed and useful error messages * maintains its own environment, making it thread-safe. * is modern, using Text filepath/directory Shelly is originally forked from the Shellish package. See the shelly-extra package for additional functionality. An overview is available in the README <https

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

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

sudo dnf -y install ghc-shelly

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

sudo yum -y install ghc-shelly

How To Uninstall ghc-shelly on Fedora 36

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

sudo dnf remove ghc-shelly

ghc-shelly Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/70e21959f93a10337c81caf0864d9718b6b9b1
/usr/lib64/libHSshelly-1.9.0-ANRn7Tnve649jU3otTmVMK-ghc8.10.5.so
/usr/share/licenses/ghc-shelly
/usr/share/licenses/ghc-shelly/LICENSE

References

Summary

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