Last active
March 4, 2019 23:32
-
-
Save acarril/c024bde2d138866b9c43bd487c65b0fb to your computer and use it in GitHub Desktop.
Command line installer of latest Julia Language stable release
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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