How To Install ghc-magic-devel on Fedora 36
Introduction
In this tutorial we learn how to install ghc-magic-devel
on Fedora 36.
What is ghc-magic-devel
This package provides the Haskell magic library development files.
We can use yum
or dnf
to install ghc-magic-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-magic-devel.
Install ghc-magic-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-magic-devel
using dnf
by running the following command:
sudo dnf -y install ghc-magic-devel
Install ghc-magic-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-magic-devel
using yum
by running the following command:
sudo yum -y install ghc-magic-devel
How To Uninstall ghc-magic-devel on Fedora 36
To uninstall only the ghc-magic-devel
package we can use the following command:
sudo dnf remove ghc-magic-devel
ghc-magic-devel Package Contents on Fedora 36
/usr/lib64/ghc-8.10.5/magic-1.1
/usr/lib64/ghc-8.10.5/magic-1.1/Magic
/usr/lib64/ghc-8.10.5/magic-1.1/Magic.dyn_hi
/usr/lib64/ghc-8.10.5/magic-1.1/Magic.hi
/usr/lib64/ghc-8.10.5/magic-1.1/Magic/Data.dyn_hi
/usr/lib64/ghc-8.10.5/magic-1.1/Magic/Data.hi
/usr/lib64/ghc-8.10.5/magic-1.1/Magic/Init.dyn_hi
/usr/lib64/ghc-8.10.5/magic-1.1/Magic/Init.hi
/usr/lib64/ghc-8.10.5/magic-1.1/Magic/Operations.dyn_hi
/usr/lib64/ghc-8.10.5/magic-1.1/Magic/Operations.hi
/usr/lib64/ghc-8.10.5/magic-1.1/Magic/Types.dyn_hi
/usr/lib64/ghc-8.10.5/magic-1.1/Magic/Types.hi
/usr/lib64/ghc-8.10.5/magic-1.1/Magic/TypesLL.dyn_hi
/usr/lib64/ghc-8.10.5/magic-1.1/Magic/TypesLL.hi
/usr/lib64/ghc-8.10.5/magic-1.1/Magic/Utils.dyn_hi
/usr/lib64/ghc-8.10.5/magic-1.1/Magic/Utils.hi
/usr/lib64/ghc-8.10.5/magic-1.1/libHSmagic-1.1-ACgJfsTtmRc6ULiEKeUBqR.a
/usr/lib64/ghc-8.10.5/package.conf.d/magic-1.1.conf
References
Summary
In this tutorial we learn how to install ghc-magic-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).