Can I download everything and install from local files?

Nathan Catlow nsc@qsf.demon.co.uk
Thu Dec 19 04:10:00 GMT 2002


And I quote from www.cygwin.com: "If you are adventurous (i.e. masochistic) 
you can also download the Cygwin distribution via ftp or http using some other 
program than setup.exe."

Yes you too can be adventurous and masochistic, with a bit of work. You 
basically have to mirror the relevent ftp site/mirror into a local directory 
and run setup from there.

Choose 'install from local directory' and when setup asks you where to store 
the downloaded packages, point it at the local dir where setup.exe resides.

Here is a Linux script that just does that. I don't know whether there is a 
windows equivalant of 'copydir'. I just rerun this script to update my local 
distribution and run setup.exe - works well IMHO.

#!/bin/bash
copydir ftp://ftp.mirror.ac.uk/sites/sources.redhat.com/pub/cygwin/release ./ \
	--exclude-regexp ".*\-src.*" \
	--keep-files \
	--verbose --verbose
copydir ftp://ftp.mirror.ac.uk/sites/sources.redhat.com/pub/cygwin/setup.* ./ \
	--verbose --verbose


If you need to ask questions about this, forget it and use setup.exe in the 
supported way.

regards,

Nathan.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list