# Customizing Julia Installation Directory on Linux

**URL:** https://discourse.julialang.org/t/customizing-julia-installation-directory-on-linux/108362
**Category:** General Usage
**Created:** [January 4, 2024, 11:29pm UTC](https://discourse.julialang.org/t/customizing-julia-installation-directory-on-linux/108362 "2024-01-04T23:29:00Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![marllos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marllos/32/205917_2.png) [@marllos](https://discourse.julialang.org/u/marllos)
#### Post date: [January 4, 2024, 11:29pm UTC](https://discourse.julialang.org/t/customizing-julia-installation-directory-on-linux/108362/1 "2024-01-04T23:29:00Z")

</div>

Hello everyone! I’m currently working on installing Julia on my Linux system using the standard installation script (`curl -fsSL https://install.julialang.org | sh` ). I’m looking to customize the installation directory, but I haven’t found any options within the downloaded script to do so. Could someone guide me on how to choose a specific installation directory during the Julia installation process using this method? Your help would be greatly appreciated!

---

<div class="post-metadata">

### Author: ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)
#### Post date: [January 5, 2024, 12:55am UTC](https://discourse.julialang.org/t/customizing-julia-installation-directory-on-linux/108362/2 "2024-01-05T00:55:23Z")

</div>

I would just download the a tarball of the binaries and untar it wherever you would like it. Scroll down from the download page to find the “manual” install archives:

> **[Download Julia](https://julialang.org/downloads/#official_binaries_for_manual_download)**
>
> 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.

The only other nice thing would be to either add the bin directory to your `PATH` or symlink the julia executable to somewhere on your `PATH`.

---

<div class="post-metadata">

### Author: ![Wen-Wei\_Tseng](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wen-wei_tseng/32/28839_2.png) [@Wen-Wei\_Tseng](https://discourse.julialang.org/u/Wen-Wei_Tseng)
#### Post date: [January 5, 2024, 1:37am UTC](https://discourse.julialang.org/t/customizing-julia-installation-directory-on-linux/108362/3 "2024-01-05T01:37:00Z")

</div>

From the juliaup’s [README](https://github.com/JuliaLang/juliaup#path-used-by-juliaup), you can set the `JULIAUP_DEPOT_PATH` environment variable to customize the installation location.

Or, you can use [jill.sh](https://github.com/abelsiqueira/jill) to install Julia. For downloading Julia binaries to a customized location, set the `JULIA_DOWNLOAD` environment variable when using the script.

---

<div class="post-metadata">

### Author: ![Salmon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/salmon/32/22968_2.png) [@Salmon](https://discourse.julialang.org/u/Salmon)
#### Post date: [January 5, 2024, 8:06am UTC](https://discourse.julialang.org/t/customizing-julia-installation-directory-on-linux/108362/4 "2024-01-05T08:06:09Z")

</div>

Odd, when I run the command on Linux, I get prompted to customize the installation, after which I can enter any path I like:

 ![grafik](https://global.discourse-cdn.com/julialang/original/3X/d/a/da2d24c6a866ec5b41991d9a1f3fee2374a3516d.png)  
after selecting:  
 ![grafik](https://global.discourse-cdn.com/julialang/original/3X/0/0/00f88033c548cced5394b7b23eccf36aab126518.png)

---

<div class="post-metadata">

### Author: ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)
#### Post date: [January 5, 2024, 8:04pm UTC](https://discourse.julialang.org/t/customizing-julia-installation-directory-on-linux/108362/5 "2024-01-05T20:04:12Z")

</div>

Note that with Juliaup there are _two_ locations you can customize: 1) where you want Juliaup installed (this is the stuff that ends up on your `PATH`, and 2) where the actual Julia versions that you install get stored.

For 1) you can use the options in the setup script of Juliaup that @Salmon pointed at. There are also command line arguments to the installer that let you control that. For 2) you can control that via the `JULIAUP_DEPOT_PATH` environment variable.

---

<div class="post-metadata">

### Author: ![marllos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marllos/32/205917_2.png) [@marllos](https://discourse.julialang.org/u/marllos)
#### Post date: [January 5, 2024, 8:31pm UTC](https://discourse.julialang.org/t/customizing-julia-installation-directory-on-linux/108362/6 "2024-01-05T20:31:42Z")

</div>

Thank you very much, everyone. I’ll proceed with the installation as usual. However, I’ll keep the information from these responses for later use, as it’s always good to follow the standard procedure.
