无法在我的MacOS机器上安装Haskell的ghcup安装程序



当前,我正在尝试学习纯粹的功能编程语言,即Haskell。我正在尝试安装Haskell编译器,我按照以下命令遵循指令在MACOS上安装ghcupcurl https://get-ghcup.haskell.org -sSf | sh但是我无法安装它,它引起了这样的错误:

Following commands are required, but missing, please install: xz "ghcup upgrade" failed!

Following commands are required, but missing, please install: xz

我希望有人能提出这个问题并帮助我解决这个问题,非常感谢。

xz [Wiki]是(de(压缩工具。有时它用于通过网络以压缩形式发送数据。

您可以在Mac OS X系统上安装xz

brew install xz

当然,您首先在计算机上安装了brew [brew.sh]。

最新更新