Aidan Gauland wrote:
Hello,
I want to setup a cross-compiler, following this tutorial...
http://wiki.debian.org/BuildingCrossCompilers
...but since I'm on a dial-up connection, I would be waiting until
Christmas for steps such as "sudo apt-get build-dep binutils gcc-4.1"
to finish. I usually mark changes with the Synaptic Package Manager,
generate a download script, and give it to my father to run at work (I
don't do this often). But I can't do that for... unorthodox
installations like what I'll need for setting up a cross-compiler.
How can I get a list of the the URLs for all the packages apt-get
needs to install (if I give arguments)?
Thanks,
Aidan
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
=======================================================================
This email, including any attachments, is only for the intended
addressee. It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
=======================================================================