Skip to content

Instantly share code, notes, and snippets.

@asinghvi17
Forked from benmarwick/getting-julia
Last active December 23, 2018 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asinghvi17/9b63591abf5ab6000c31d7237eb1dcfb to your computer and use it in GitHub Desktop.
Save asinghvi17/9b63591abf5ab6000c31d7237eb1dcfb to your computer and use it in GitHub Desktop.
install and build Julia in ubuntu
#!/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