Skip to content

Instantly share code, notes, and snippets.

@acarril
Last active March 4, 2019 23:32
Show Gist options
  • Save acarril/c024bde2d138866b9c43bd487c65b0fb to your computer and use it in GitHub Desktop.
Save acarril/c024bde2d138866b9c43bd487c65b0fb to your computer and use it in GitHub Desktop.
Command line installer of latest Julia Language stable release
#!/bin/bash
bold=$(tput bold)
normal=$(tput sgr0)
downloadsPath=$(xdg-user-dir DOWNLOAD)
juliaVersion="julia-1.1.0"
# echo "${bold}1/3 Downloading"
# wget -P $downloadsPath "https://julialang-s3.julialang.org/bin/linux/x64/1.1/julia-1.1.0-linux-x86_64.tar.gz"
#
# echo "${bold}2/3 Unpacking"
# tar -xzf "$downloadsPath/julia-1.1.0-linux-x86_64.tar.gz" -C /usr/local/
echo "${bold}3/3 Updating symlink"
ln -sf /usr/local/$juliaVersion/bin/julia /usr/local/bin/julia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment