delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/19/19:03:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49751470.1030606@cygwin.com>
Date: Mon, 19 Jan 2009 19:01:52 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20090101 Remi/2.0.0.19-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Manage Cygwin packages in command-line (without using graphical Setup.exe)
References: <200901170912 DOT 39683 DOT salokine DOT terata AT free DOT fr>
In-Reply-To: <200901170912.39683.salokine.terata@free.fr>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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.

>> Of course, doing
>> this through 'ssh' means you need the OpenSSH server to have access to
>> the desktop, assuming you're PCs are < Vista.  See the '-i' switch on
>> cygrunsrv.
> Yes, it's work fine.
> 
> I search how to install/remove/update a package through SSH.
> If someone have an exemple (with Setup.exe or other method)
> 
> What do you think about apt-cyg (http://stephenjungels.com/jungels.net/projects/apt-cyg/)
> Is it a perennial solution ? Is it in de Cygwin repository ? (I don't find it in http://cygwin.com/cgi-bin2/package-grep.cgi?grep=apt-cyg)

This suffers from the same bootstrap problem that rpm, dpkg, and other
established Linux install facilities have.  Only 'setup.exe' can install
Cygwin from scratch as well as maintain the installation.  So these other
facilities/options can usually help with the maintenance for those who
want to try them.  But they aren't considered a supported installation/
maintenance procedure.  If you plan to use one of these methods, you're
on your own.

apt-cyg is not a Cygwin package.  It is not part of the distribution and
therefore not in the Cygwin repository.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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