How to upgrade Julia 1.0.1 to a new release Julia 1.0.2?
No need to de-install the old version and download and install the new one!!!
There is some command that makes it all from the same program:
update Julia to new released and copy require file and package from the old version to the new one
Gracias
The only manual step I have noticed is, if you work with IJulia, you I think I needed to go ] build IJulia prior to working in jupyter after the installation.
On Mac OS, you just install the latest dmg file and replace the older one when it prompts you. Of course, this wonât work if you are moving from v1 to v2 as the path is major revision specific i.e. /Applications/Julia-1.0.app/Contents/Resources/julia/bin/julia
This is on Windows?
I recently installed Julia 1.0.2 on a system which originally had 1.0.1 installed.
Just install the new version.
The only thing is that a new desktop icon was not created.
As above, there is semantic versioning 1.0.1 to 1.0.2 is a patch release.
The 1.0 is the interesting version
So just install 1.0.2 GO into the package manager and type status
You will find you have your original set of packages.
Please stick with Julia. I have gone through a lot of the feelings you have, regarding corporate proxies and versioning.
Please dont get frustrated. We can help!
My apologies, if I was not clear. I am referring to that version: julia1.1.0. It is where I am presenting the problem stated above
Last version on my PC
julia> versioninfo()
Julia Version 1.1.0
Commit 80516ca202 (2019-01-21 21:24 UTC)
Platform Info:
OS: Windows (i686-w64-mingw32)
CPU: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz
WORD_SIZE: 32
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, haswell)
Previous version, still installed, on my PC:
julia> versioninfo()
Julia Version 1.0.3
Commit 099e826241 (2018-12-18 01:34 UTC)
Platform Info:
OS: Windows (i686-w64-mingw32)
CPU: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz
WORD_SIZE: 32
LIBM: libopenlibm
LLVM: libLLVM-6.0.0 (ORCJIT, haswell)
julia>
NOTE:
As further versions of Julia are released, the julia-build project gets updated, so you will need to update julia-build, before you can install a new version of julia.
I did 3) and seemed to have quite some issues but Iâm using Jupyter in combination. I added the new kernel afterwards and now after removing v.1.0 everything seems to be functional again.
Iâm still left wondering whatâs the âcleanestâ way to upgrade a complete installation including all packages? Looking forward to 1.3 so would love to know before the release.
bash possibly with some support for zsh and fish (I donât use those and there arenât any tests for them).
It may work on MacOS and Windows 10 with its linux subsystem but neither are used or tested by me.
Really dependent on community use/support so issue reports and PRâs welcome.
I should add that the ideal jlenv use case is multiple installs for a user, e.g. per-project.
The ideal 'julia-cookbook` use case is system wide installs.
Of course you can do as you wish (I use chef to manage my desktop with user scoped installs and no system wide julia), but those encourage reasonable/sound practice.
Upgrading Julia in Ubuntu is such a pain for me. And it feels like it could just as well have been super easyâŚ
Hereâs what happens. When I do âsudo apt-get upgrade juliaâ it doesnât upgrade to v.1.3 (which I expected), no instead it downgrades to v.1.0.4!
I have no idea how these things are maintained, but would presume that sudo apt-get⌠should work, right? Perhaps the task of upgrading the repository has fallen between the chairs or something?
The Julia people donât maintain the Ubuntu repositories.
Moreover, the repository is pretty conservative and doesnât give people the newest versions by design. You should use the official Linux binaries instead as suggested on the downloads page Platform Specific Instructions for Official Binaries .
Could we make an Ubuntu package called get-julia which is just a bash script that wgets and unzips into the right location? That way, the script wouldnât need to be upgraded, but re-running it would lead to the user getting an updated Julia version. With a little extra work, such a script could also presumably check for packages and install them as well. Thoughts?
FWIW, distribution releases (when the idea is applicable) are always a bit behind on software versions for all software. This is natural: everything in the release should be well-tested. It is understood that if you want the cutting edge, you install from sources, or use a PPA or similar.