This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Manage Cygwin packages in command-line (without using graphical Setup.exe)
Larry Hall (Cygwin) wrote on Monday, January 19, 2009 6:02 PM:
> Salokine Terata wrote:
>> Hi,
>>
>>> <http://cygwin.com/faq/faq-nochunks.html#faq.setup.automated>
>>> <http://cygwin.com/faq/faq-nochunks.html#faq.setup.cli>
>> Yes, I have read them, but I don't find how to use it to install a
specified
>> package.
>> Coud you give me an example to install my cron package?
>
> Well I haven't done this myself, mind you, so this is untested but:
>
> setup.exe -q -n -N -d -R c:\cygwin -s http://yourFavoriteMirror -l
> c:\localPackageDir
>
> There isn't a flag that specifies individual packages, so this will
get
> and install all current packages. If you want to control what gets
> installed, you could pull down the package(s) you want using 'wget' or
> 'curl' to your local package directory and then use the '-L' flag
> instead of the '-s' flag to install the package(s) you got, which will
> happen by default since these are the only new packages in your local
> package directory. Alternatively, you can look in the cygwin and
> cygwin-apps email archives for discussions about this. I believe
there
> was a patch offered to do this, but I'm not sure of its status. You
> could also check the source in CVS for the current state of the
> available options.
The latest setup.exe snapshots contain such an option (at least since
2.602, perhaps earlier): '-P <comma-separated list of packages to
install>'.
--
Bryan Thrall
FlightSafety International
bryan.thrall@flightsafety.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/