Reputation: 93
I'd like to use Julia on a computer which is disconnected from the Internet. Is there simple procedure to download a package and then install it offline?
Upvotes: 9
Views: 9359
Reputation: 5756
Surely, its possible.
Pkg.dir() # => get you the package installation path
check the pkg.julialang.org/
address to get the right package and click on its github
link, then you can download a zip archive from github.com and extract it into Pkg.dir()
BUT you may taking yourself into trouble
because you must do many optional things manually, e.g.:
.jl
build
stepsI think a better way is to install Pkgs on a connected machine and then copy Pkg.dir()
contents from that machine, to your system. this approach would works well only if both machines are of the same architecture (cpuX os julia-version).
Upvotes: 5