linux install julia code example

Example 1: julia install linux

# How does the last version Julia install in Ubuntu 16.04 or above? 
# Wget Magic
# Copy and paste on your favorite linux console :)
sudo pwd  && cd ~/Downloads && wget -q -O- https://julialang.org/downloads/ | grep -Po '(?<=href=")[^"]*' | grep https://julialang-s3.julialang.org/bin/linux/x64/ | head -1 | xargs wget -O julia-x86_64.tar.gz && mkdir julia-x86_64 && tar -xvzf julia-x86_64.tar.gz -C julia-x86_64 --strip-components 1 && sudo cp -r julia-x86_64 /opt/ && sudo ln -s /opt/julia-x86_64/bin/julia /usr/local/bin/julia && julia

Example 2: How to Install Julia on Ubuntu

sudo apt-get update -y
sudo apt-get install -y julia

julia