How To Install ghc-hslua on Fedora 36

In this tutorial we learn how to install ghc-hslua in Fedora 36. ghc-hslua is Bindings to Lua, an embeddable scripting language

Introduction

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

What is ghc-hslua

HsLua provides bindings, wrappers, types, and helper functions to bridge Haskell and Lua. Example programs are available in <https

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

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

sudo dnf -y install ghc-hslua

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

sudo yum -y install ghc-hslua

How To Uninstall ghc-hslua on Fedora 36

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

sudo dnf remove ghc-hslua

ghc-hslua Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/53360a77733d91b460cae45917df2137687e35
/usr/lib64/libHShslua-1.3.0.1-2h8XgTs1El51N6TOfhznN5-ghc8.10.5.so
/usr/share/licenses/ghc-hslua
/usr/share/licenses/ghc-hslua/LICENSE

References

Summary

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