#!/bin/bash # Install the newest version of Julia (1.5.3) for the local user. # Automates the instructions found here: https://julialang.org/downloads/platform/#linux_and_freebsd # # Daniel Vedder, 2/1/2021 # === USAGE === # # 1. copy this script into your home directory # 2. make it executable: `chmod +x install_julia.sh` # 3. run it (from your home directory): `./install_julia.sh` # mkdir .julia cd .julia wget https://julialang-s3.julialang.org/bin/linux/x64/1.5/julia-1.5.3-linux-x86_64.tar.gz . tar xzvf julia-1.5.3-linux-x86_64.tar.gz mv julia-1.5.3/* . rmdir julia-1.5.3 echo "export PATH=\"$PATH:$HOME/.julia/bin\"" >> ~/.bashrc