logo

Installing the Latest Version of Julia on Linux 📂Julia

Installing the Latest Version of Julia on Linux

Guide

After Julia Version 1.10

alt text

In the terminal, enter the command curl -fsSL https://install.julialang.org | sh as shown above.

Before Julia Version 1.10

Step 1. Download Julia

Screenshotfrom2020-02-0614-11-13.png

Download the file that matches your CPU’s bit from Generic Linux Binaries for x86.

Step 2. Extract and Move

Screenshotfrom2020-02-0614-16-42.png

Extract the file.

Screenshotfrom2020-02-0614-17-43.png

Move the folder to the location where Julia will be stored. You can place it anywhere you like, but in this post, it is moved to /home/[username]/julia-1.3.1.

Create a symbolic link using the following command.

sudo ln -s /home/[유저이름]/julia-1.3.1/bin/julia /usr/bin/julia

Then try running the Julia command to check that version 1.3.1 is installed correctly.

Screenshotfrom2020-02-0614-20-23.png

When the Latest Version Is Not Necessary

sudo apt-get install julia

You can quickly install it without setting up a symbolic link using the command above. However, this method does not install the latest stable version.

Environment

  • OS: Ubuntu 18.04 - OS: Ubuntu 18.04
  • OS: Ubuntu 18.04