How to Install Julia Programming Language on Ubuntu 20.04

Install Julia Programming Language Ubuntu 20.04

In this article, we will have explained the necessary steps to install and configure Julia Programming Language on Ubuntu 20.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Julia is a high-level, high-performance, dynamic programming language. While it is a general-purpose language and can be used to write any application, many of its features are well-suited for high-performance numerical analysis and computational science. Because of its friendly syntax, powerful features, and speed Julia has attracted a growing number of adopters from R, Python, R, and Matlab, and it keeps raising the bar for modern scientific and general computing.

Install Julia Programming Language on Ubuntu 20.04

Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.

sudo apt update
sudo apt upgrade

Step 2. Install Julia Programming Language on the Ubuntu system.

  • Install Julia Programming Language from the official repository.

Now download the latest release of the Julia binary package.


Next, Extract the file downloaded:

tar xvf julia-1.5.4-linux-x86_64.tar.gz
sudo mv julia-1.5.3 /opt/julia

After that, add /opt/julia/bin the directory to your PATH:

$ nano ~/.bashrc
export PATH=$PATH:/opt/julia/bin

Next, source the bashrc file to update the settings.:

source ~/.bashrc

Finally, confirm Julia binary file is executable from your shell terminal session:

$ julia --version
julia version 1.5.4
  • Install Julia Programming Language via Snap.

Now install Julia use the following command:

sudo apt install snapd
sudo snap install julia --classic

That’s all you need to do to install Julia Programming Language on Ubuntu 20.04 LTS Focal Fossa. I hope you find this quick tip helpful. For further reading on Julia Programming, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.