How To Install ghc-git-lfs on Fedora 36

In this tutorial we learn how to install ghc-git-lfs in Fedora 36. ghc-git-lfs is Git-lfs protocol

Introduction

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

What is ghc-git-lfs

An implementation of the git-lfs protocol.

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

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

sudo dnf -y install ghc-git-lfs

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

sudo yum -y install ghc-git-lfs

How To Uninstall ghc-git-lfs on Fedora 36

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

sudo dnf remove ghc-git-lfs

ghc-git-lfs Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/fddf124182a6b47a654ea5cb8497c5bedcc017
/usr/lib64/libHSgit-lfs-1.1.1-LTqrasXqlXP7zxal4iU0iI-ghc8.10.5.so
/usr/share/licenses/ghc-git-lfs
/usr/share/licenses/ghc-git-lfs/LICENSE

References

Summary

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