# Dealing with different versions of Julia and JuliaPro and their respective package locations

**URL:** <https://discourse.julialang.org/t/dealing-with-different-versions-of-julia-and-juliapro-and-their-respective-package-locations/42524>\
**Category:** Tooling\
**Tags:** package, juliapro, versions\
**Created:** [July 4, 2020, 3:13pm UTC](https://discourse.julialang.org/t/dealing-with-different-versions-of-julia-and-juliapro-and-their-respective-package-locations/42524 "2020-07-04T15:13:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yelircaasi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yelircaasi/32/16143_2.png) [@yelircaasi](https://discourse.julialang.org/u/yelircaasi)\
**Post date:** [July 4, 2020, 3:13pm UTC](https://discourse.julialang.org/t/dealing-with-different-versions-of-julia-and-juliapro-and-their-respective-package-locations/42524/1 "2020-07-04T15:13:42Z")

</div>

Hello all,

I am having trouble understanding how to keep things tidy with multiple Julia versions on my machine (OSX Catalina 10.15). The older versions aren’t doing me much good, since I haven’t been able to get their packages to import into the version I am using (JuliaPro version 1.4.2). How can I update Julia to the latest version without having to re-install all of the packages again? It would be nice to just have a single Julia that keeps packages when I update it and that just updates the packages as the need arises.

For reference, I have the following Julia locations:

/Applications/Julia-1.1.app/  
/Applications/Julia-1.1.app/  
/Applications/Julia-1.1.app/  
/Applications/JuliaPro-1.2.0-1.app/  
/Applications/JuliaPro-1.4.0-1.app/  
~/.julia/  
~/.jlenv/  
~/.juliapro/  
~/Library/Jupyter/kernels/julia-1.0/  
~/Library/Jupyter/kernels/julia-1.1/  
~/Library/Jupyter/kernels/julia-1.2/  
~/Library/Jupyter/kernels/juliapro\_v1.4.2-1-1.4/

My shell julia is aliased to  
/Applications/JuliaPro-1.4.2-1.app/Contents/Resources/julia/Contents/Resources/julia/bin/julia.

Is this partially an issue with JuliaPro and regular Julia?

---

<div class="post-metadata">

**Author:** ![Harsha](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/harsha/32/1985_2.png) [@Harsha](https://discourse.julialang.org/u/Harsha)\
**Post date:** [July 7, 2020, 6:23am UTC](https://discourse.julialang.org/t/dealing-with-different-versions-of-julia-and-juliapro-and-their-respective-package-locations/42524/2 "2020-07-07T06:23:35Z")

</div>

> How can I update Julia to the latest version without having to re-install all of the packages again?

You can activate your old environment, in JuliaPro, DEPOT\_PATHS are set based on your JuliaPro version number.

Example:- JuliaPro 1.4.2-1 would store its packages in following path: `~/.juliapro/JuliaPro_v1.4.2-1` . If you’re planning on using packages installed by JuliaPro v1.3.1-2 (An older version) in v1.4.2-1, then you need to activate following environment in your JuliaPro\_v1.4.2-1: `~/.juliapro/JuliaPro_v1.3.1-2/environments/v1.3` (This is the default environment that gets activated during JuliaPro 1.3.x launch)

---

<div class="post-metadata">

**Author:** ![yelircaasi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yelircaasi/32/16143_2.png) [@yelircaasi](https://discourse.julialang.org/u/yelircaasi)\
**Post date:** [July 8, 2020, 8:43pm UTC](https://discourse.julialang.org/t/dealing-with-different-versions-of-julia-and-juliapro-and-their-respective-package-locations/42524/3 "2020-07-08T20:43:42Z")

</div>

What do you mean by “activate”? How do I do that?

---

<div class="post-metadata">

**Author:** ![heliosdrm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heliosdrm/32/3851_2.png) [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Post date:** [July 8, 2020, 8:53pm UTC](https://discourse.julialang.org/t/dealing-with-different-versions-of-julia-and-juliapro-and-their-respective-package-locations/42524/4 "2020-07-08T20:53:18Z")

</div>

With respect to environments and what `activate` means, read:  
[https://docs.julialang.org/en/v1/stdlib/Pkg/](https://docs.julialang.org/en/v1/stdlib/Pkg/)  
or:  
[https://julialang.github.io/Pkg.jl/v1/environments/](https://julialang.github.io/Pkg.jl/v1/environments/)

This FAQ also should answer your question (but taking into account that in Julia Pro the paths of the environments are different):  
[https://docs.julialang.org/en/v1.6-dev/manual/faq/#How-can-I-transfer-the-list-of-installed-packages-after-updating-my-version-of-Julia?-1](https://docs.julialang.org/en/v1.6-dev/manual/faq/#How-can-I-transfer-the-list-of-installed-packages-after-updating-my-version-of-Julia?-1)

---

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [September 12, 2023, 4:41pm UTC](https://discourse.julialang.org/t/dealing-with-different-versions-of-julia-and-juliapro-and-their-respective-package-locations/42524/5 "2023-09-12T16:41:33Z")

</div>


