Nam V. Do
Nam V. Do

Reputation: 705

Couldn't install ghcup installer for Haskell on my MacOS machine

Currently, I'm trying to learn pure functional programming language, which is Haskell. I'm trying to install Haskell compiler, I have followed the instructions to install ghcup on my MacOS by following command: curl https://get-ghcup.haskell.org -sSf | sh But I couldn't install it, it prompted errors like these:

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

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

I hope somebody picks up this question and helps me get this out, thanks a lot.

Upvotes: 2

Views: 1957

Answers (1)

willeM_ Van Onsem
willeM_ Van Onsem

Reputation: 477533

xz [wiki] is a (de)compression tool. It is sometimes used to send data in a compressed form over a network.

You can install xz on a Mac OS X system with:

brew install xz

Given of course you first installed brew on your machine [brew.sh].

Upvotes: 4

Related Questions