Do I need to re-dowload packages when I downgrade Julia?

bertulli
Wed, 14 Jun 2023 19:00:45 +0000
Package Management

Hi all!

I am having some troubles using PackageCompiler recently (whereas it worked fine with Julia 1.8 ~6 months ago), so I thought I needed to downgrade my Julia installation. I tried juliaup and worked fine, installing v1.8.5.

My question is: are there any steps I should do to keep external packages in a compatible state between the two versions? I know files in ~/.julia/environments/ serve this purpose, but may this cause problems with the precompilation of packages? I don’t know, do I need to delete ~/.julia/artifacts or ~/.julia/compiled or anything else when switching? Maybe running ] instantiate?

Thanks!

4 posts - 2 participants