delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/20/10:12:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: Manage Cygwin packages in command-line (without using graphical Setup.exe)
Date: Tue, 20 Jan 2009 09:12:07 -0600
Message-ID: <297343D29C14AA4D822142893ABEAEF305E9B7FB@srv1163ex1.flightsafety.com>
In-Reply-To: <49751470.1030606@cygwin.com>
References: <200901170912 DOT 39683 DOT salokine DOT terata AT free DOT fr> <49751470 DOT 1030606 AT cygwin DOT com>
From: "Thrall, Bryan" <bryan DOT thrall AT flightsafety DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id n0KFCQJv027065

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 DOT thrall AT flightsafety DOT 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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019