Offline installation of Julia packages

Thanks Gunnar for confirming!

It seems too late for a response but since this question comes up in the searches I post here.
I created a Julia program that mirrors the Julia repository for offline clusters. It is not an advanced code but it solved my problems. nativeJuliaMirror.jl

This may not be the best method to get packages working on an offline computer, but this is a method that worked for me:

To get Julia working on a computer without internet access:

  1. Install desired packages onto a computer with internet access.
  2. Copy entire .julia directory and transfer onto the computer without internet access.

This works for me when both computers are running Windows10. I assume you could do the same with other operating systems if they are the same on both computers.

Another way to make packages available offline is to create a custom sysimage with PackageCompiler.jl:

2 Likes