-
-
Save asinghvi17/9b63591abf5ab6000c31d7237eb1dcfb to your computer and use it in GitHub Desktop.
install and build Julia in ubuntu
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 | |
CWD=$(pwd) | |
DOWNDIRDIR="~/git" # modify as necessary for the directory you want to install Julia into | |
cd DOWNDIR # go to the download directory | |
git clone -b master git://github.com/JuliaLang/julia.git # clone the repo | |
# needed these on EC2 | |
sudo apt-get update | |
sudo apt-get install gcc | |
sudo apt-get install g++ | |
sudo apt-get install gfortran | |
sudo apt-get install make | |
# change to directory and run make | |
cd julia | |
make | |
# wait a long time, then | |
cd CWD | |
# start julia | |
julia |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment