如何安装 ghc-conduit Fedora 36

在本教程中,我们学习如何安装 ghc-conduit Fedora 36. ghc-conduit 是 Streaming 数据处理库

介绍

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

什么是 ghc-conduit

conduit 是流数据问题的解决方案,允许在恒定内存中生成、转换和消耗数据流。 它是惰性 I/O 的替代方案,可保证确定性的资源处理。 有关管道的一般信息以及该软件包如何特别适合生态系统的更多信息,请参阅 [the conduit homepage](https

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

安装 ghc-conduit Fedora 36 使用dnf

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

sudo dnf makecache --refresh

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

sudo dnf -y install ghc-conduit

安装 ghc-conduit Fedora 36 使用 yum

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

sudo yum makecache --refresh

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

sudo yum -y install ghc-conduit

如何卸载 ghc-conduit Fedora 36

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

sudo dnf remove ghc-conduit

ghc-conduit 包装内容位于 Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/54
/usr/lib/.build-id/54/60943ed7dc3f5b5fe79d6c2271c1aa42c0583c
/usr/lib64/libHSconduit-1.3.4.1-4eJ55X41ueu9r30eMJv6NR-ghc8.10.5.so
/usr/share/licenses/ghc-conduit
/usr/share/licenses/ghc-conduit/LICENSE

参考

概括

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