Skip to content

Instantly share code, notes, and snippets.

@smartinsightsfromdata
Forked from utamadonny/juliainstall.md
Created December 6, 2023 19:50
Show Gist options
  • Save smartinsightsfromdata/d92e11578fe10edeeabde77a8d7b7fd7 to your computer and use it in GitHub Desktop.
Save smartinsightsfromdata/d92e11578fe10edeeabde77a8d7b7fd7 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