# How to update julia from downloaded tar.gz file

**URL:** <https://discourse.julialang.org/t/how-to-update-julia-from-downloaded-tar-gz-file/124913>\
**Category:** New to Julia\
**Created:** [January 19, 2025, 10:28am UTC](https://discourse.julialang.org/t/how-to-update-julia-from-downloaded-tar-gz-file/124913 "2025-01-19T10:28:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jinfreedom](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@jinfreedom](https://discourse.julialang.org/u/jinfreedom)\
**Post date:** [January 19, 2025, 10:28am UTC](https://discourse.julialang.org/t/how-to-update-julia-from-downloaded-tar-gz-file/124913/1 "2025-01-19T10:28:50Z")

</div>

I currently have Julia 1.9.3 on win11 WSL2 and would like to upgrade to 1.10.7 LTS. I followed suggestions to use `juliaup` which I managed to install. I ran  
` ~>>juliaup add 1.10`  
but the download was enormously slow (due to my own network setting) and fail if the computer goes to sleep (this happened several times).  
However I was able to download “julia-1.10.7-linux-x86\_64.tar.gz” fairly quickly from official web, now I would like to upgrade to this version but now install as another version of julia, and make the system including VSCode aware of this change.  
What is the correct command(s) to execute ? A glance at `juliaup` readme page does not seem to provide any related info. Thanks

---

<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:** [January 19, 2025, 11:22am UTC](https://discourse.julialang.org/t/how-to-update-julia-from-downloaded-tar-gz-file/124913/2 "2025-01-19T11:22:20Z")

</div>

Unpack it into a folder of your choice. Add that folder to the search path, for example by editing the PATH variable in `.bashrc`. Delete the Julia 1.9.3 folder.

But by doing that you loose all the advantages of `juliaup`.

---

<div class="post-metadata">

**Author:** ![GHTaarn](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ghtaarn/32/216007_2.png) [@GHTaarn](https://discourse.julialang.org/u/GHTaarn)\
**Post date:** [January 19, 2025, 8:21pm UTC](https://discourse.julialang.org/t/how-to-update-julia-from-downloaded-tar-gz-file/124913/3 "2025-01-19T20:21:08Z")

</div>

Another option is to use the `link` keyword, e.g.:

```bash
juliaup link tgz path_to_julia_executable
juliaup default tgz

```

The last line sets the default julia version to the newly created `tgz` channel.
