How to install Julia on Ubuntu (18.04)?

Julia language is an Open Source programming language designed at MIT with high performance in mind. Julia programs compile to efficient native code for multiple platforms. Julia is a dynamically-typed and optionally typed this feature can be used to clarify and solidify programs. Julia easily allows to express many object-oriented and functional programming patterns. The standard library provides asynchronous I/O, process control, logging, profiling, a package manager, and more.

How to install Julia on Ubuntu?

Online there are not many detailed guides, thus I am going to describe the procedure.

Download Julia Language

From the official download page we can choose among different versions depending on your needs, the major candidates are:

  • Current Stable Release
  • Long Term Support (LTS) Release (Suggested)
  • Upcoming Release (not production ready)

Once downloaded unpack the .tar.gz file to a proper folder, in my case is going to be:

sudo tar -C /opt -xvf julia-1.0.4-linux-x86_64.tar.gz

then let's link the main executable in our bash commands:

sudo ln -s /opt/julia-1.0.4/bin/julia /usr/bin/

you should be able to open a new terminal and then type julia, the language command line REPL should be launched.

Show Comments