如何安装 ghc-contravariant-doc Fedora 36

在本教程中,我们学习如何安装 ghc-contravariant-doc Fedora 36. ghc-contravariant-doc 是 Haskell 逆变库文档

介绍

在本教程中我们学习如何安装 ghc-contravariant-doc 在 Fedora 36.

什么是 ghc-contravariant-doc

该包提供 Haskell 逆变库文档。

我们可以用 yum 或者 dnf 安装 ghc-contravariant-doc 在 Fedora 36. 在本教程中,我们讨论这两种方法,但您只需选择一种方法来安装 ghc-contravariant-doc。

安装 ghc-contravariant-doc Fedora 36 使用dnf

更新 yum 数据库 dnf 使用以下命令。

sudo dnf makecache --refresh

更新 yum 数据库后,我们可以安装 ghc-contravariant-doc 使用 dnf 通过运行以下命令:

sudo dnf -y install ghc-contravariant-doc

安装 ghc-contravariant-doc Fedora 36 使用 yum

更新 yum 数据库 yum 使用以下命令。

sudo yum makecache --refresh

更新 yum 数据库后,我们可以安装 ghc-contravariant-doc 使用 yum 通过运行以下命令:

sudo yum -y install ghc-contravariant-doc

如何卸载 ghc-contravariant-doc Fedora 36

仅卸载 ghc-contravariant-doc 打包我们可以使用以下命令:

sudo dnf remove ghc-contravariant-doc

ghc-contravariant-doc 包内容 Fedora 36

/usr/share/doc/ghc/html/libraries/contravariant-1.5.5
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/Data-Functor-Contravariant-Compose.html
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/Data-Functor-Contravariant-Divisible.html
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/Data-Functor-Contravariant-Generic.html
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/contravariant.haddock
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/contravariant.txt
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/doc-index.html
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/haddock-bundle.min.js
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/index.html
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/linuwial.css
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/meta.json
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/quick-jump.css
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/src
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/src/Data.Functor.Contravariant.Compose.html
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/src/Data.Functor.Contravariant.Divisible.html
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/src/Data.Functor.Contravariant.Generic.html
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/src/highlight.js
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/src/style.css
/usr/share/doc/ghc/html/libraries/contravariant-1.5.5/synopsis.png
/usr/share/licenses/ghc-contravariant-doc
/usr/share/licenses/ghc-contravariant-doc/LICENSE

参考

概括

在本教程中我们学习如何安装 ghc-contravariant-doc 在 Fedora 36 使用 yum 和 [dnf]((/fedora/36/dnf/)。