# JuliaRegistries setup for air gapped network

**URL:** <https://discourse.julialang.org/t/juliaregistries-setup-for-air-gapped-network/94313>\
**Category:** General Usage\
**Tags:** packages, registry\
**Created:** [February 8, 2023, 11:12pm UTC](https://discourse.julialang.org/t/juliaregistries-setup-for-air-gapped-network/94313 "2023-02-08T23:12:15Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![Ashlin\_Harris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ashlin_harris/32/210166_2.png) [@Ashlin\_Harris](https://discourse.julialang.org/u/Ashlin_Harris)\
**Post date:** [February 13, 2023, 5:46pm UTC](https://discourse.julialang.org/t/juliaregistries-setup-for-air-gapped-network/94313/23 "2023-02-13T17:46:08Z")

</div>

If you already have a Julia environment set up, or at least know what packages your users need, you can build it into a custom sysimage with PackageCompiler.jl. Then it’s just a matter of uploading the Julia source code and the sysimage to the network and setting up the shell environment. I’ve written a tutorial for this:

> [@Secure systems: an alternate use case for PackageCompiler.jl](https://discourse.julialang.org/t/secure-systems-an-alternate-use-case-for-packagecompiler-jl/90955):
>
> Julia’s package manager relies on internet access, so it can be challenging to make dependencies available on secure systems. [PackageCompiler.jl](https://github.com/JuliaLang/PackageCompiler.jl) compiles Julia code ahead of time, primarily for [improved performance in certain workflows](https://julialang.github.io/PackageCompiler.jl/dev/index.html#PackageCompiler). In particular, [generating a sysimage](https://julialang.github.io/PackageCompiler.jl/dev/sysimages.html) produces a performant stand-alone Julia session, and since its [main drawback (version locking)](https://julialang.github.io/PackageCompiler.jl/dev/sysimages.html#Drawbacks-to-custom-sysimages) is mitigated on secure systems, it seems to be the best approach for putting a Julia session on a system without internet access or…

---

_[View the full topic](https://discourse.julialang.org/t/juliaregistries-setup-for-air-gapped-network/94313)._
