Skip to content

Instantly share code, notes, and snippets.

@utamadonny
Last active December 6, 2023 19:50
Show Gist options
  • Save utamadonny/cdf60d4c067716c3f067b97eaf3644ad to your computer and use it in GitHub Desktop.
Save utamadonny/cdf60d4c067716c3f067b97eaf3644ad to your computer and use it in GitHub Desktop.
Install Julia in Linux (Ubuntu 20.04 LTS)

Download

wget https://julialang-s3.julialang.org/bin/linux/x64/1.Y/julia-X.Y.X-linux-x86_64.tar.gz

example

wget https://julialang-s3.julialang.org/bin/linux/x64/1.6/julia-1.6.2-linux-x86_64.tar.gz

Extract

tar -xvzf julia-X.X.X-linux-x86_64.tar.gz

Move to /opt or folder you want

sudo cp -r julia-X.X.X /opt/

Create symbolic link

sudo ln -s /opt/julia-X.X.X/bin/julia /usr/local/bin/julia

try in terminal

julia

Uninstall

sudo unlink /usr/local/bin/julia 

Remove Julia file

sudo rm -rf julia-X.X.X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment