How To Install ghc-gi-ostree on Fedora 36

In this tutorial we learn how to install ghc-gi-ostree in Fedora 36. ghc-gi-ostree is OSTree bindings

Introduction

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

What is ghc-gi-ostree

Bindings for OSTree, autogenerated by haskell-gi.

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

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

sudo dnf -y install ghc-gi-ostree

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

sudo yum -y install ghc-gi-ostree

How To Uninstall ghc-gi-ostree on Fedora 36

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

sudo dnf remove ghc-gi-ostree

ghc-gi-ostree Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/86
/usr/lib/.build-id/86/198cd60b9ad11db570b7f84045c612a76f3641
/usr/lib64/libHSgi-ostree-1.0.14-GVUPFYJWlcLF2JnaPr7OKr-ghc8.10.5.so
/usr/share/licenses/ghc-gi-ostree
/usr/share/licenses/ghc-gi-ostree/LICENSE

References

Summary

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