I recently installed Julia v1.10.2 using juliaup. Once installed, juliaup informed me that it failed to remove Julia v1.10.1, and suggested I should run juliaup gc at a later stage.
I checked the directory in question, and found several older versions; my juliaup directory looks as follows:
Also, when I check the version no. in a VSCode, I’m told:
julia> VERSION
v"1.10.1"
Likewise, in VSCode, when I’m running a Jupyterlab file and click on Juliareleasechannel, I’m told I’m in v1.10.1 and not in v1.10.2.
A final question…
Do I have to re-install all packages for every incremental update in Julia, e.g., going from v1.10.1 to v1.10.2, etc? It seems like that – in the terminal window, I’m in Julia v1.10.2, and there it spends considerable time re-installing packages.
Weirdly enough, in the REPL, I just did add Plots, but it seems to install a lot of other packages, too…
Weird: after I had run the package manager in the REPL of the terminal, closed and re-opened VSCode, now it shows Julia v1.10.2 in release channel, etc. Strange, because I have closed and re-opened VSCode several times after I installed Julia v1.10.2
Part of why juliaup may fail to delete an install is that a julia process is currently running. Rebooting your machine may facilitate garbage collection in case you have rogue or orphaned Julia processes around.
For me the juliaup gc never really worked (Windows), despite rebooting or even waiting for two releases.
I always manually delete the replaced versions and never had any problems.
But yeah, it would be nice to have it done with a command.