Pkg.installed() returns the currently installed packages and the REQUIRE 
file found in your .julia/0.4/ folder lists all the explicitly installed 
packages. So if you copy that file over to a fresh package directory and 
run Pkg.resolve() that should install everything that you’d need.

— Mike
​
On Saturday, 10 October 2015 21:47:02 UTC+2, le...@neilson-levin.org wrote:
>
> I would like to generate a list of all the packages I've installed.  Each 
> time I install Julia (which I've done a lot recently, but will settle down 
> now that 0.4.0 is released--Yeah!) I need to install packages again.  It 
> would be nice to have a list.  It would be nicer to be able to install them 
> as a batch, but since makes take a long time and can be fragile I am OK 
> without a batch.
>
> Basically, I want pip freeze > mypkgs.txt within the Julia repl. 
>  Unfortunately, since Pkg.status is ::void it produces no output to 
> capture.  I tried pipeline.  No go.
>
> Should be easy;  seems an obvious request.  Writing a little Julia script 
> is a fine solution, but without being able to capture Pkg.status not sure 
> what it would look like.
>
> Thanks
>

Reply via email to