Download packages and dependencies from another computer

Franz Waldmüller waldbauernbub at gmx.at
Wed Apr 21 20:53:37 UTC 2010


hi Dotan,
Dotan Cohen schrieb:
> Is there a tool which will download a .deb packages and all it's
> dependencies (and dependencies' dependencies) to removable media? I
> have a machine not connected to the network that needs some packages,
> but they all have a dependency chain.
> 
> I have seen AptOnCD, but it does not seem to handle dependencies
> unless the packages are installed on the downloading computer. Is
> there a better way?
> 
> Thanks!
> 
on the machine which needs packages but lacks a network connection:
start synaptic, select the packages you want install, go to "File" 
select create download script. (don't close synaptic)

Save this file, move it to your other pc which has a network connection, 
execute this script
take all packages back to the other computer.
In Synaptic go to "File" -> "Add downloaded packages" -> select to 
folder in which the downloaded packages are located.
and you are done.

Franz





More information about the ubuntu-users mailing list