Attempting to download `cabal-install` (version binary from the Terminal

I am trying to download using the terminal the cabal-install (version binary from without success. I am following the official documentation (Installing the node from source).

I am interested in the Binary download for Ubuntu Linux 18.04. I have tried the following:
curl -o cabal-install-

wget -o cabal-install-

But then when I:
tar -xf cabal-install- (as per instructions)

I get the following error:
tar: This does not look like a tar archive xz: (stdin): File format not recognized tar: Child returned status 1 tar: Error is not recoverable: exiting now

What is the best command to download this cabal-install` (version binary from The Haskell Cabal | Downloads?


you downloaded the binary package, not the source package
source package: cabal-install-

It was just that the instructions were " Download the relevant cabal-install (version binary from The Haskell Cabal | Downloads".

So these are not working for me either:
wget -o cabal-install-

curl -o cabal-install-

1 Like

may bad - and you are right. will try to download the binary and come back

$ wget
--2021-04-20 21:37:19--
Resolving (, 2a04:4e42:600::431, 2a04:4e42:400::431, ...
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6645900 (6.3M) [application/octet-stream]
Saving to: ‘cabal-install-’

cabal-install- 100%[=====================================================================================================>]   6.34M  3.08MB/s    in 2.1s    

2021-04-20 21:37:22 (3.08 MB/s) - ‘cabal-install-’ saved [6645900/6645900]

$ tar -xf cabal-install-
$ ls
cabal  cabal-install-

try again with a fresh download