Offline zkg package installation

Hello,

I need to install the zeek-long-connections package in an air-gaped environment, what would be the best approach since zkg install won’t work?

Thanks,

Hello @fel , you can create a “bundle” using zkg on a system that has Internet connectivity, then “unbundle” it on the target system:

https://docs.zeek.org/projects/package-manager/en/stable/zkg.html#bundle

Hope this helps,
Arne

Thanks for this @awelzel, I see it asks a few questions to install the package, is there a way to pass those answers as arguments? I’m installing in a headless environment where an automation script will install the package but won’t be able to answer interactively

Just throwing out another option as we also have some systems that can’t reach Github, but we have a local Gitlab instance they can reach. So you could do this, using --force to get past all the questions for automation purposes:

zkg install https://mygitlab.blaa.com/packages/zeek-example_package --force

One thing you could run into with air gapped systems is that zkg has some python package dependencies.

-Dop

1 Like