Do I have to re-add the package after upgrading Julia to a newer versions?

I upgraded my Julia from 1.3 to 1.4 today. But using some_pkg where some_pkg is a package I added when using v1.3 no longer works. Do I have to re-add all the packages again in 1.4 or is there an easy way for me to relocate the already installed packages to the current version?

Thanks

1 Like

In general moving up a version x.y.z in x or y requires pacakges to re-installed.

Try renaming the folder at ~/.julia/environments/v1.3 to v1.4. Then launch Julia 1.4 and type:

]up
1 Like

Or, alternatively, symlink all v1.x directories to a common one, eg v1.