Julia-1.6.1

Creating custom julia environment on NextJournal. Set JULIA_VERSION, JULIA_PATH, PATH environment variables and run the codes

echo $JULIA_VERSION
tarArch="x86_64"
dirArch="x64"
BASEURL="https://julialang-s3.julialang.org/bin"
tarfile="julia-${JULIA_VERSION}-linux-${tarArch}.tar.gz"
dir="${dirArch}/${JULIA_VERSION%[.-]*}"
tarurl="${BASEURL}/linux/${dir}/${tarfile}"
sigfile="${tarfile}.asc"
sigurl="${tarurl}.asc"
shafile="julia-${JULIA_VERSION}.sha256"
shaurl="${BASEURL}/checksums/${shafile}"
keyfile="juliareleases.asc"
keyurl="https://julialang.org/assets/${keyfile}"
wget -q --show-progress --progress=bar:force \
  $tarurl $sigurl $shaurl $keyurl
sha256sum -c --ignore-missing $shafile
export GNUPGHOME="$(mktemp -d)"
gpg --import $keyfile
gpg --batch --verify $sigfile $tarfile
gpgconf --kill all
cp $tarfile /results/
rm -rf "$GNUPGHOME" $tarfile $sigfile $shafile $keyfile
7.0s
Julia-1.6.1 (Bash)
mkdir -p "$JULIA_PATH"
tar -xzf 
julia-1.6.1-linux-x86_64.tar.gz
-C "$JULIA_PATH" --strip-components 1
6.4s
Julia-1.6.1 (Bash)
julia -v
1.4s
Julia-1.6.1 (Bash)
julia -e 'using Pkg; pkg"up; add BenchmarkTools; precompile; test BenchmarkTools"'
98.6s
Julia-1.6.1 (Bash)
Julia-1.6.1 (Bash)
Runtimes (1)