How to update julia from downloaded tar.gz file

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

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.

1 Like

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

juliaup link tgz path_to_julia_executable
juliaup default tgz

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