Install Cygwin 3.5 from command line?

Jon Turney jon.turney@dronecode.org.uk
Thu Jan 4 20:33:50 GMT 2024


On 03/01/2024 06:49, Dan Shelton via Cygwin wrote:
> Hello!
> 
> Can someone give me precise instructions on how to install Cygwin 3.5
> (setup.exe with Testing+Sync checkboxes selected) from the Windows
> command line? If I try, I only get Cygwin 3.4.

What have you tried?

For a fresh install, this should just be a question of supplying the 
'--allow-test-packages' option (which is directly equivalent to the 
'Test' checkbox)

The way that 'Keep'/'Best'/'Sync' choices map onto command line options 
is unfortunately complex (due to historical terribleness...), but I 
think it's something like this:

If '--force-current' option is specified, this is equivalent to 'Sync' 
(all packages will use the version from the package repository, 
downgrading if needed)

Otherwise, if '--upgrade-also' is specified, or no packages are added or 
removed by the command-line options, this is equivalent to 'Best' (use 
the 'best' available version of all packages)

Otherwise it's equivalent to 'Keep' (don't change the version of any 
already installed package).



More information about the Cygwin mailing list