How To Install ghc-spdx-devel on Fedora 36

In this tutorial we learn how to install ghc-spdx-devel in Fedora 36. ghc-spdx-devel is Haskell spdx library development files

Introduction

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

What is ghc-spdx-devel

This package provides the Haskell spdx library development files.

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

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

sudo dnf -y install ghc-spdx-devel

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

sudo yum -y install ghc-spdx-devel

How To Uninstall ghc-spdx-devel on Fedora 36

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

sudo dnf remove ghc-spdx-devel

ghc-spdx-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/spdx-1.0.0.2.conf
/usr/lib64/ghc-8.10.5/spdx-1.0.0.2
/usr/lib64/ghc-8.10.5/spdx-1.0.0.2/Distribution
/usr/lib64/ghc-8.10.5/spdx-1.0.0.2/Distribution/SPDX
/usr/lib64/ghc-8.10.5/spdx-1.0.0.2/Distribution/SPDX/Extra
/usr/lib64/ghc-8.10.5/spdx-1.0.0.2/Distribution/SPDX/Extra.dyn_hi
/usr/lib64/ghc-8.10.5/spdx-1.0.0.2/Distribution/SPDX/Extra.hi
/usr/lib64/ghc-8.10.5/spdx-1.0.0.2/Distribution/SPDX/Extra/Internal.dyn_hi
/usr/lib64/ghc-8.10.5/spdx-1.0.0.2/Distribution/SPDX/Extra/Internal.hi
/usr/lib64/ghc-8.10.5/spdx-1.0.0.2/libHSspdx-1.0.0.2-1MvojAXHtJR4UYFmCMvYZj.a

References

Summary

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