# How to work locally with the same source in v0.5 and v0.6

**URL:** <https://discourse.julialang.org/t/how-to-work-locally-with-the-same-source-in-v0-5-and-v0-6/2621>\
**Category:** General Usage\
**Tags:** question\
**Created:** [March 12, 2017, 12:38pm UTC](https://discourse.julialang.org/t/how-to-work-locally-with-the-same-source-in-v0-5-and-v0-6/2621 "2017-03-12T12:38:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [March 12, 2017, 12:38pm UTC](https://discourse.julialang.org/t/how-to-work-locally-with-the-same-source-in-v0-5-and-v0-6/2621/1 "2017-03-12T12:38:09Z")

</div>

I have a package which I have been developing while using `v0.5`. Now that I would like to prepare it for `v0.6`. I have both versions of Julia running on my computer just fine.

I would prefer to keep fix things in a single codebase (using `Compat.jl`, this looks feasible). The problem is that the different Julia versions look for the package in different subdirectories of `~/.julia`. What’s a good solution for this (on Linux, if it needs to be specific?) I thought of

1. making a symlink in `~/.julia/v0.6/` to the relevant directory in `~/.julia/v0.5/`,
2. putting the repo somewhere else and putting that in `LOAD_PATH`.

But both of these look inelegant. Suggestions are welcome.

---

<div class="post-metadata">

**Author:** ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)\
**Post date:** [March 12, 2017, 1:09pm UTC](https://discourse.julialang.org/t/how-to-work-locally-with-the-same-source-in-v0-5-and-v0-6/2621/2 "2017-03-12T13:09:47Z")

</div>

I use symlinks, on Linux. It’s fine.

---

<div class="post-metadata">

**Author:** ![mpastell](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mpastell/32/350_2.png) [@mpastell](https://discourse.julialang.org/u/mpastell)\
**Post date:** [March 12, 2017, 1:49pm UTC](https://discourse.julialang.org/t/how-to-work-locally-with-the-same-source-in-v0-5-and-v0-6/2621/3 "2017-03-12T13:49:10Z")

</div>

I use symlinks, works well on linux and windows.

---

<div class="post-metadata">

**Author:** ![lobingera](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lobingera/32/211_2.png) [@lobingera](https://discourse.julialang.org/u/lobingera)\
**Post date:** [March 12, 2017, 2:14pm UTC](https://discourse.julialang.org/t/how-to-work-locally-with-the-same-source-in-v0-5-and-v0-6/2621/4 "2017-03-12T14:14:29Z")

</div>

I used git remotes set to/from the ‘other’ repository and git pulled. But recently i had the experience that Libgit2-based Pkg displays long errors for that ('URL format not supported?"), is this the correct behaviour?
