I need to install Julia to a Windows environment that does not have an internet connection. I can prepare the installation outside of this environment but then need to transfer the installation to the space. I wanted to install the following packages prior to moving it into the space:
Does anyone have any suggestions on how I can accomplish both preparing a Julia installation, installing the packages in the default Julia environment, and then moving Julia into the Windows space?
I had to do something similar recently and made use of PackageCompiler.jl with a lot of success.
You will have to configure your package dependencies (in VSCode activate the parent directory then do Pkg.add in the repl). before running the PackageCompiler commands but the outcome is an .exe with all the dependencies as .dlls. I did have to run it a few times, modifying for every missing package (some core dependencies like xtsd_jll were missing for some reason).
This suited my needs to distribute Julia without Julia and provided fully compiled code. The only drawback was that it doesn’t yet support setting the number of threads; but this is mitigated with environment variables.