The command curl -s https://julialang-s3.julialang.org/bin/linux/x64/1.0/julia-1.0.2-linux-x86_64.tar.gz | sudo tar -xz -C /usr/local/ JULIA_HOME=/usr/local/julia-1.0.2/bin throws the following error,
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
It went through fine by using -sL option along with the curl command
The command
curl -s https://julialang-s3.julialang.org/bin/linux/x64/1.0/julia-1.0.2-linux-x86_64.tar.gz | sudo tar -xz -C /usr/local/ JULIA_HOME=/usr/local/julia-1.0.2/bin
throws the following error,It went through fine by using
-sL
option along with thecurl
command