Skip Navigation

How install a package/program with all the dependencies tree to an offline devices ?

Hi,

I have an air gaped[^1] device. ( Devuan )

How do you manage to install packages/software on off-line[^1] device ?

I've heard of apt-offline but it seem to bug and I don't know if it's still maintained (last release two years ago)

of course I've tried manually but the dependencies relations are too crazy to do that fully manually

Any ideas ?

Thanks.

[^1]: air gaped, off-line
\ https://en.wikipedia.org/wiki/Air_gap_(networking)

You're viewing a single thread.

16 comments
  • I found this, maybe it is a suitable solution? https://unix.stackexchange.com/a/408348

    • Thank you very much @connaisseur@feddit.org

      I have tried

       bash
          
      apt-get -o Dir::Cache::archives="/to/path" install --download-only apt-offline
      
      
        

      But it downloaded only the .deb of apt-offline and not all the dependence tree. Most probably because this machine have them already.

      now, remain to force to download also all the dependency tree even if already installed...

      • You could setup a new, empty VM and use it as a download only machine for packages, although it makes the process a bit more complicated.

        • Yes, but it's not reliable. because even if you use a bare linux vm to download the packages and dependency, you never know if the online will have already a dependence that the offline system do not have.

          no, the only way is to force the dw of the already downloaded package.

16 comments