Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Updating version of a Julia without reinstalling packages from previous version

Recently new version (0.4) of the Julia was rolled out. I would like to install it, since I noticed some bugs in my current 0.3.11 version. But after installing 0.4 I realized my packages from 0.3.11 are not in 0.4.

It would be very tedious to reinstall these packages again (and repeating this process for every version update going forward) given the speed of the package manager, so I was wondering if there is a workaround for this?

like image 967
aberdysh Avatar asked Nov 30 '15 06:11

aberdysh


1 Answers

You can also simplify the process by copying your Project.toml from your ~/.julia/environments/v1.x to your ~/.julia/environments/v1.y and doing a Pkg update. That will install all the same packages you had before.

like image 147
tholy Avatar answered Sep 21 '22 12:09

tholy