How to upgrade Julia to a new release?

the jenv and julia-build project doesn’t seem to be maintained anymore, right? Latest version available vom julia-install is v1.2.0-rc1

Hi mks, and welcome to the Julia community.

I haven’t used jenv or similar projects, never really had a reason to, not sure what I’m missing out on.

There’s a similar project, outdated only worked on even older Julia, but from the discussion, it seems at least partially no longer needed, from the comment I directly link to:
https://github.com/rofinn/Playground.jl/issues/84#issuecomment-502472959

1 Like

that saved my day!

1 Like

For 1.7.3 to 1.8.0

sudo rm -r /opt/julia-1.7.3
wget https://julialang-s3.julialang.org/bin/linux/x64/1.8/julia-1.8.0-linux-x86_64.tar.gz
tar -xvzf julia-1.8.0-linux-x86_64.tar.gz
sudo cp -r julia-1.8.0 /opt/
sudo ln -sfn /opt/julia-1.8.0/bin/julia /usr/local/bin/julia
1 Like

With juliaup the whole process consists of

juliaup up
5 Likes

Not exactly. For MacOS, you have to upgrade juliaup to the latest version first. And using brew will always have a delay. If you want to eliminate the delay, you have to run a bash command to update juliaup itself. Not a fun experience.

1 Like

If you care about update speed, don’t install Juliaup via brew, but instead use the main install command shown to install in the README. Juliaup will then auto-update without any manual step.

3 Likes