Last active
May 5, 2016 18:05
-
-
Save raphapr/294a22fb6a4441e9cd24b4428faac5bf to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
mkdir -p /opt/julia_0.4.5 && \ | |
curl -s -L https://julialang.s3.amazonaws.com/bin/linux/x64/0.4/julia-0.4.5-linux-x86_64.tar.gz | tar -C /opt/julia_0.4.5 -x -z --strip-components=1 -f - | |
ln -fs /opt/julia_0.4.5 /opt/julia | |
echo "PATH=\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/julia/bin\"" > /etc/environment && \ | |
echo "export PATH" >> /etc/environment && \ | |
echo "source /etc/environment" >> /root/.bashrc | |
echo "source /etc/environment" >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment