# Where should I save Julia in the Linux Tree?

**URL:** <https://discourse.julialang.org/t/where-should-i-save-julia-in-the-linux-tree/53463>\
**Category:** New to Julia\
**Created:** [January 17, 2021, 1:04am UTC](https://discourse.julialang.org/t/where-should-i-save-julia-in-the-linux-tree/53463 "2021-01-17T01:04:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Post date:** [January 17, 2021, 1:04am UTC](https://discourse.julialang.org/t/where-should-i-save-julia-in-the-linux-tree/53463/1 "2021-01-17T01:04:17Z")

</div>

Thanks so, is this what I do if I want to try 1.6 ?

```julia
wget https://julialang-s3.julialang.org/bin/linux/x64/1.6.0/julia-1.6.0-beta1-linux-x86_64.tar.gz
tar zxvf julia-1.6.0-beta1-linux-x86_64.tar.gz

```

---

<div class="post-metadata">

**Author:** ![Mason](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mason/32/2423_2.png) [@Mason](https://discourse.julialang.org/u/Mason)\
**Post date:** [January 17, 2021, 1:05am UTC](https://discourse.julialang.org/t/where-should-i-save-julia-in-the-linux-tree/53463/2 "2021-01-17T01:05:05Z")

</div>

> **[Platform Specific Instructions for Official Binaries](https://julialang.org/downloads/platform/#linux_and_freebsd)**
>
> The official website for the Julia Language. Julia is a language that is fast, dynamic, easy to use, and open source. Click here to learn more.

---

<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:** [January 17, 2021, 1:08am UTC](https://discourse.julialang.org/t/where-should-i-save-julia-in-the-linux-tree/53463/3 "2021-01-17T01:08:32Z")

</div>

Cannot recommend just using jill.py enough!

[https://github.com/johnnychen94/jill.py](https://github.com/johnnychen94/jill.py)

---

<div class="post-metadata">

**Author:** ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Post date:** [January 17, 2021, 1:58am UTC](https://discourse.julialang.org/t/where-should-i-save-julia-in-the-linux-tree/53463/4 "2021-01-17T01:58:15Z")

</div>

I just wanted the name of a folder, that I can extract the tar.gz into

---

<div class="post-metadata">

**Author:** ![Raf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/raf/32/3383_2.png) [@Raf](https://discourse.julialang.org/u/Raf)\
**Post date:** [January 17, 2021, 2:18am UTC](https://discourse.julialang.org/t/where-should-i-save-julia-in-the-linux-tree/53463/5 "2021-01-17T02:18:51Z")

</div>

`/opt/julia`

Then in your `~/.bash\_profile:

```julia
export PATH="$PATH:/opt/julia/bin"

```

---

<div class="post-metadata">

**Author:** ![affans](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/affans/32/11911_2.png) [@affans](https://discourse.julialang.org/u/affans)\
**Post date:** [January 17, 2021, 2:46am UTC](https://discourse.julialang.org/t/where-should-i-save-julia-in-the-linux-tree/53463/6 "2021-01-17T02:46:04Z")

</div>

That’s what the instructions tell you. If you are in your home folder, then running

```julia
wget https://julialang-s3.julialang.org/bin/linux/x64/1.5/julia-1.5.3-linux-x86_64.tar.gz
tar zxvf julia-1.5.3-linux-x86_64.tar.gz

```

will download and extract julia to a folder called `julia-1.5.3`. The particular binary will live in `~/julia-1.5.3/bin`. Now you have a couple of options to **launch julia** , and this is all described in the link above.

- Invoke the `julia` executable by using its full path: `<Julia directory>/bin/julia`
  - so for example, if your extracted julia to your home directory, `cd ~/julia-1.5.3/bin` and then typing in `./julia` which launches the julia binary.

- Create a symbolic link to `julia` inside a folder which is on your system `PATH`
  - Google `ln -s` and use that to create a symlink in `/usr/local/bin` which is a folder that lives in the linux `$PATH` variable.

- Add Julia’s `bin` folder (with full path) to your system `PATH` environment variable
  - This requires you to modify the `$PATH` variable to include your julia binary directory. This can be done by the export command (infact the link above gives you this command).

The most canonical way would be the second point. However, often many people just modify their `PATH` to include the Julia folder. You can see the `jill.py` script to automate some of this process.

Is this clear?

---

<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:** [January 18, 2021, 2:36pm UTC](https://discourse.julialang.org/t/where-should-i-save-julia-in-the-linux-tree/53463/7 "2021-01-18T14:36:26Z")

</div>

If you are the single user of this computer and also install other software in a similar way (from binaries or source), just make up a location in your home directory (`~`), eg `~/opt` and put it there. In addition, you can make a `~/bin` directory, put it in your `$PATH` and symlink relevant binaries there.

---

<div class="post-metadata">

**Author:** ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Post date:** [January 27, 2021, 10:55pm UTC](https://discourse.julialang.org/t/where-should-i-save-julia-in-the-linux-tree/53463/8 "2021-01-27T22:55:38Z")

</div>

Thanks!
