How To Install ghc-magic-doc on Fedora 36
Introduction
In this tutorial we learn how to install ghc-magic-doc
on Fedora 36.
What is ghc-magic-doc
This package provides the Haskell magic library documentation.
We can use yum
or dnf
to install ghc-magic-doc
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-magic-doc.
Install ghc-magic-doc 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-doc
using dnf
by running the following command:
sudo dnf -y install ghc-magic-doc
Install ghc-magic-doc 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-doc
using yum
by running the following command:
sudo yum -y install ghc-magic-doc
How To Uninstall ghc-magic-doc on Fedora 36
To uninstall only the ghc-magic-doc
package we can use the following command:
sudo dnf remove ghc-magic-doc
ghc-magic-doc Package Contents on Fedora 36
/usr/share/doc/ghc/html/libraries/magic-1.1
/usr/share/doc/ghc/html/libraries/magic-1.1/Magic-Data.html
/usr/share/doc/ghc/html/libraries/magic-1.1/Magic-Init.html
/usr/share/doc/ghc/html/libraries/magic-1.1/Magic-Operations.html
/usr/share/doc/ghc/html/libraries/magic-1.1/Magic-Types.html
/usr/share/doc/ghc/html/libraries/magic-1.1/Magic.html
/usr/share/doc/ghc/html/libraries/magic-1.1/doc-index.html
/usr/share/doc/ghc/html/libraries/magic-1.1/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/magic-1.1/index.html
/usr/share/doc/ghc/html/libraries/magic-1.1/linuwial.css
/usr/share/doc/ghc/html/libraries/magic-1.1/magic.haddock
/usr/share/doc/ghc/html/libraries/magic-1.1/magic.txt
/usr/share/doc/ghc/html/libraries/magic-1.1/meta.json
/usr/share/doc/ghc/html/libraries/magic-1.1/quick-jump.css
/usr/share/doc/ghc/html/libraries/magic-1.1/src
/usr/share/doc/ghc/html/libraries/magic-1.1/src/Magic.Data.html
/usr/share/doc/ghc/html/libraries/magic-1.1/src/Magic.Init.html
/usr/share/doc/ghc/html/libraries/magic-1.1/src/Magic.Operations.html
/usr/share/doc/ghc/html/libraries/magic-1.1/src/Magic.Types.html
/usr/share/doc/ghc/html/libraries/magic-1.1/src/Magic.TypesLL.html
/usr/share/doc/ghc/html/libraries/magic-1.1/src/Magic.Utils.html
/usr/share/doc/ghc/html/libraries/magic-1.1/src/Magic.html
/usr/share/doc/ghc/html/libraries/magic-1.1/src/highlight.js
/usr/share/doc/ghc/html/libraries/magic-1.1/src/style.css
/usr/share/doc/ghc/html/libraries/magic-1.1/synopsis.png
/usr/share/licenses/ghc-magic-doc
/usr/share/licenses/ghc-magic-doc/COPYING
References
Summary
In this tutorial we learn how to install ghc-magic-doc
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).