Installing julia from Linux

I have a question.

I’m using Ubuntu 18.04. When I install Julia using the snap I get the 1.0.4 version but in the official site I can get the version 1.2.0. What’s that?

Thank you

This is how I install it on ubuntu:

wget -qO- https://julialang-s3.julialang.org/bin/linux/x64/1.2/julia-1.2.0-linux-x86_64.tar.gz | tar -xzv

And then add ~/julia-1.2.0/bin to the path.

5 Likes

As a linux directory structure stickler, I’d like to point out that a really good place to the entire directory that gets extracted from the tarball is in /opt.

I think the only OS managed Julia that gets updated reasonably quickly is in Arch. Not sure who maintains the snap, but I wouldn’t be surprised if it were deliberately kept on the LTS version of Julia.

5 Likes

… if you have multiple users and want to provide them with a Julia installation, yes.

If this is a single-user laptop/desktop, basically anywhere you keep code is fine.

Void Linux Julia is also updated quickly, but that’s a bit more obscure. Just as a general FYI.

I highly recommend you take a look at jill https://github.com/abelsiqueira/jill

1 Like

In Fedora or CentOS you can just type:

sudo dnf install julia
1 Like