Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to download and setup dependencies for a Julia project that is in development?

Tags:

julia

I am trying to download and install dependencies for a Julia project that's not in the package registry. It has a manifest and project file. How do I get all of the packages it depends on to download at once using the Julia Package manager?

like image 293
logankilpatrick Avatar asked Oct 30 '19 00:10

logankilpatrick


People also ask

Where does Julia install packages?

Your package requirements are in the file ~/. julia/v0.


1 Answers

  1. Download the source: git clone https://github.com/RandomUser/Unregistered.jl
  2. Activate the project: pkg> activate Unregistered.jl
  3. Ensure any dependencies are installed: pkg> instantiate

Once the package is set up, you can use the package normally. You can load the package:

julia> using Unregistered

Or even run its test suite:

pkg> test
like image 174
David Varela Avatar answered Oct 26 '22 12:10

David Varela