Reputation: 705
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
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