# How to install properly julia

**URL:** <https://discourse.julialang.org/t/how-to-install-properly-julia/109587>\
**Category:** General Usage\
**Created:** [February 1, 2024, 5:46pm UTC](https://discourse.julialang.org/t/how-to-install-properly-julia/109587 "2024-02-01T17:46:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sparsetacus](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@Sparsetacus](https://discourse.julialang.org/u/Sparsetacus)\
**Post date:** [February 1, 2024, 5:46pm UTC](https://discourse.julialang.org/t/how-to-install-properly-julia/109587/1 "2024-02-01T17:46:23Z")

</div>

Hi all,

I have a question on how to install julia on linux : what is the best way between :

- `juliaup` with the command `curl -fsSL https://install.julialang.org | sh` ? Where does this command install julia ?

- cloning git repo `git clone https://github.com/JuliaLang/julia.git` ?

- using the package manager ? (`pacman` in my case)

Thanks

---

<div class="post-metadata">

**Author:** ![Eben60](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eben60/32/13475_2.png) [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Post date:** [February 1, 2024, 5:57pm UTC](https://discourse.julialang.org/t/how-to-install-properly-julia/109587/2 "2024-02-01T17:57:49Z")

</div>

Currently, the officially [recommended](https://julialang.org/downloads/) way to install Julia is using `juliaup`

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [February 1, 2024, 6:07pm UTC](https://discourse.julialang.org/t/how-to-install-properly-julia/109587/3 "2024-02-01T18:07:46Z")

</div>

> [@Sparsetacus](#):
>
> Where does this command install julia ?

On my Linux computer:

```julia
ufechner@framework:~/.julia$ which julia
/home/ufechner/.juliaup/bin/julia

```

In other words the launcher is installed in the folder `.juliaup/bin` which is in my home folder. It will be similar on a Mac. Julia itself is installed in the folder

```julia
/home/ufechner/.julia/juliaup/julia-1.10.0+0.x64.linux.gnu/bin

```

in other words, in the folder `.julia/juliaup/<version>/bin`

You can have multiple versions of julia installed at the same time, the launcher selects the right version.

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [February 1, 2024, 6:20pm UTC](https://discourse.julialang.org/t/how-to-install-properly-julia/109587/4 "2024-02-01T18:20:05Z")

</div>

To comment on the other options:

Cloning the Julia git repo gives you the source code and you have to build Julia yourself. Certainly doable (and not actually difficult at all) but not worth the trouble unless you want to participate in Julia development or get an early preview of features in an upcoming release.

Using the Linux distribution’s package manager is generally not recommended. There have been many reports of strange problems that have turned out to be caused by less than successful packaging.

---

<div class="post-metadata">

**Author:** ![Sparsetacus](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@Sparsetacus](https://discourse.julialang.org/u/Sparsetacus)\
**Post date:** [February 1, 2024, 6:35pm UTC](https://discourse.julialang.org/t/how-to-install-properly-julia/109587/5 "2024-02-01T18:35:12Z")

</div>

@GunnarFarneback Ok, I intend to have a basic use so clearly the `git` option is not he good one.

@ufechner7 so everything goes in `/home/user/.julia` ? I used to install from the `tar.gz` file which I usually placed in `/opt`. No more file like this ?

@Eben60 Ok thanks

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [February 1, 2024, 6:46pm UTC](https://discourse.julialang.org/t/how-to-install-properly-julia/109587/6 "2024-02-01T18:46:08Z")

</div>

I just download the tar.gz file (for instance, julia-1.10.0-linux-x86\_64.tar.gz) and expand into an arbitrary folder. Then, when I’m feeling frisky, I add a symlink to the executable. 😉

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [February 1, 2024, 6:59pm UTC](https://discourse.julialang.org/t/how-to-install-properly-julia/109587/7 "2024-02-01T18:59:08Z")

</div>

> [@Sparsetacus](#):
>
> I used to install from the `tar.gz` file which I usually placed in `/opt`. No more file like this ?

Just scroll down on the download page: [Download Julia](https://julialang.org/downloads/#official_binaries_for_manual_download)

---

<div class="post-metadata">

**Author:** ![Sparsetacus](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@Sparsetacus](https://discourse.julialang.org/u/Sparsetacus)\
**Post date:** [February 1, 2024, 7:00pm UTC](https://discourse.julialang.org/t/how-to-install-properly-julia/109587/8 "2024-02-01T19:00:40Z")

</div>

Yes I also did that in the past 😉. I am just trying to understand how `juliaup` works and where does it takes place. As it is now the recommended way to do.
