What apt incantations do I need to use to download the source packages for all the installed packages into a directory? (The use case is GPL compliance when giving an installed Ubuntu system to another person along with a computer.)
Create a directory where you want the source for all installed packages to be downloaded, and enter it.
Create a file named getsource.sh
Make it executable.
And go grab a cup of coffee :)
An alternative for you might be to just hand out the source CDs:
On Ubuntu refer to command:
it is recommended that you only use