Stephen Irons wrote:
sudo apt-get install --print-uris <packages>
Or consider using apt-zip-* (the apt-zip package). I have not actually
used it, but apparently you run apt-zip-list on your offline machine to
generate a script that runs on the online machine. This script downloads
the necessary packages which you bring home on a USB stick (or a ZIP
disk, hence the name). You then run apt-zip-inst on the offline machine
to install the packages; it uses a script that was generated when you
first ran apt-zip-list.
Stephen Irons
Ok, thanks! apt-zip doesn't seem to let me use apt-get commands like
build-dep, but the --print-uris option for apt-get works for what I need.
-Aidan