# Installing julia from Linux

**URL:** https://discourse.julialang.org/t/installing-julia-from-linux/28959
**Category:** Tooling
**Tags:** installation
**Created:** [September 19, 2019, 5:34pm UTC](https://discourse.julialang.org/t/installing-julia-from-linux/28959 "2019-09-19T17:34:12Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Ariel\_Cruz\_Cruz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ariel_cruz_cruz/32/10377_2.png) [@Ariel\_Cruz\_Cruz](https://discourse.julialang.org/u/Ariel_Cruz_Cruz)
#### Post date: [September 19, 2019, 5:34pm UTC](https://discourse.julialang.org/t/installing-julia-from-linux/28959/1 "2019-09-19T17:34:12Z")

</div>

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

---

<div class="post-metadata">

### Author: ![jlperla](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlperla/32/34332_2.png) [@jlperla](https://discourse.julialang.org/u/jlperla)
#### Post date: [September 19, 2019, 5:39pm UTC](https://discourse.julialang.org/t/installing-julia-from-linux/28959/2 "2019-09-19T17:39:12Z")

</div>

This is how I install it on ubuntu:

```bash
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.

---

<div class="post-metadata">

### Author: ![ExpandingMan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/expandingman/32/866_2.png) [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)
#### Post date: [September 19, 2019, 5:41pm UTC](https://discourse.julialang.org/t/installing-julia-from-linux/28959/3 "2019-09-19T17:41:47Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)
#### Post date: [September 19, 2019, 6:13pm UTC](https://discourse.julialang.org/t/installing-julia-from-linux/28959/4 "2019-09-19T18:13:20Z")

</div>

> [@ExpandingMan](#):
>
> I’d like to point out that a really good place to the entire directory that gets extracted from the tarball is in `/opt` .

… 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.

---

<div class="post-metadata">

### Author: ![non-Jedi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/non-jedi/32/3645_2.png) [@non-Jedi](https://discourse.julialang.org/u/non-Jedi)
#### Post date: [September 19, 2019, 8:57pm UTC](https://discourse.julialang.org/t/installing-julia-from-linux/28959/5 "2019-09-19T20:57:54Z")

</div>

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

---

<div class="post-metadata">

### Author: ![tbeason](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tbeason/32/15898_2.png) [@tbeason](https://discourse.julialang.org/u/tbeason)
#### Post date: [September 19, 2019, 9:00pm UTC](https://discourse.julialang.org/t/installing-julia-from-linux/28959/6 "2019-09-19T21:00:33Z")

</div>

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

---

<div class="post-metadata">

### Author: ![anon92994695](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@anon92994695](https://discourse.julialang.org/u/anon92994695)
#### Post date: [September 20, 2019, 12:16am UTC](https://discourse.julialang.org/t/installing-julia-from-linux/28959/7 "2019-09-20T00:16:01Z")

</div>

In Fedora or CentOS you can just type:

```julia
sudo dnf install julia

```
