How to upgrade Julia to a new release? -
question 1 - upgrade
i'm using v"0.3.8"
on windows. found
http://julialang.org/downloads/
current release (v0.3.9)
i know download prebuild version , install again. there way upgrade (from current installed version) new version?
there's pkg.update()
, runs long time without output - doesn't work in way.
from documentation:
update() update package metadata repo – kept in pkg.dir("metadata") – update fixed packages can safely pulled origin; call pkg.resolve() determine new optimal set of packages versions.
so not right tool upgrade language itself.
question 2 - release note
is there such thing releasenote or changelist? or hightlight on major change?
(i understand language hasn't reached v1.0
. if there place find major change/improvement, that's good. if not, that's fine.)
update: how upgrade julia:
windows & macos & linux
the trivial way of upgrading julia go download page , manually install corresponding binaries. if you're going upgrade julia new major version(e.g. v0.4=>v0.5), can reinstall old packages following steps:
- in julia, run
pkg.init()
; - copy
require
file package directory of old version new 1 (in example.julia/v0.4
.julia/v0.5
) overwriting existing file; - in julia, run
pkg.resolve()
orpkg.update()
;
macos
if you're using homebrew , homebrew-julia, please follow instructions here.
ubuntu
see @a_a's answer.
to op's question
1.yeah you're right. pkg.update() used updating julia's packages, not julia itself. download prebuild version , install again seems way upgrade julia. or can build julia source https://github.com/julialang/julia.
2.you can find release notes here: https://github.com/julialang/julia/blob/master/news.md
Comments
Post a Comment