# How to install non-registered dependencies in Julia 0.7/1.0

**URL:** https://discourse.julialang.org/t/how-to-install-non-registered-dependencies-in-julia-0-7-1-0/13971
**Category:** General Usage
**Created:** [August 23, 2018, 10:42pm UTC](https://discourse.julialang.org/t/how-to-install-non-registered-dependencies-in-julia-0-7-1-0/13971 "2018-08-23T22:42:47Z")
**Posts on this page:** 1
**Showing post:** 20

<div class="post-metadata">

### Author: ![cstjean](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cstjean/32/1444_2.png) [@cstjean](https://discourse.julialang.org/u/cstjean)
#### Post date: [August 25, 2018, 8:41pm UTC](https://discourse.julialang.org/t/how-to-install-non-registered-dependencies-in-julia-0-7-1-0/13971/20 "2018-08-25T20:41:27Z")

</div>

> [@tobias.knopp](#):
>
> ```julia
> add https://github.com/MagneticParticleImaging/MPIFiles.jl.git#julia-0.7 
> add https://github.com/tknopp/LinearSolver.jl.git#julia-0.7
> 
> ```
> 
> to mark the dependency of MPIReco in MPIFiles and LinearSolver.

This is not what `add X#julia-0.7` does; it says that the _project_ (or package) depends on `X`, and that the _environment_ (i.e. Manifest) should track the `julia-0.7` branch. Since there’s only one environment active, that does not work as a general strategy (i.e. you could work in X’s environment, but then Y’s dependency on Z#julia-0.7 will be ignored). AFAIK, there’s no way to say that a _package_ depends on some branch of another package. However, you can still have an _environment_ in which all the branches you want are loaded:

> [@Lost with new Pkg3](https://discourse.julialang.org/t/lost-with-new-pkg3/13977/9):
>
> This works well for me: For each local package, activate path\_to\_package, then add path\_to\_dependency1 path\_to\_dependency2 ... In your top-level environment (eg. v0.7), dev path\_to\_package1, dev path\_to\_package2, etc. Then work from your top-level environment. Each package will know how to find its dependencies, and you just told Pkg that in the current (top-level) environment, you want to use the development version of all your packages. What really confused me was that (MyPackage) pkg\> ad…

---

_[View the full topic](https://discourse.julialang.org/t/how-to-install-non-registered-dependencies-in-julia-0-7-1-0/13971)._
