delorie.com/archives/browse.cgi | search |
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: | <49EF4275.7010608@cygwin.com> |
Date: | Wed, 22 Apr 2009 12:14:45 -0400 |
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: How to update cygwin and installed packages? |
References: | <389037030904220844l14a588f9u79fa03a9830be24e AT mail DOT gmail DOT com> |
In-Reply-To: | <389037030904220844l14a588f9u79fa03a9830be24e@mail.gmail.com> |
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 |
Jeff Gold wrote: > Is there a way to install and update cygwin packages from the command > line? Something resembling yum on Fedora and apt on Debian and Ubuntu > would be extremely helpful, particularly for setting up a new system. > Manually picking through a list of packages is tedious and error > prone, while a command line with a list of packages can be reliably > pasted from a web page. > > I've been trying to find the answer in web searches and the mailing > list archives. The closest I've come is a brief exchange between > Pawan Taparia and Larry Hall which concludes with a reference to > setup.exe, but as far as I can tell that tool only operates in a > graphical mode. Giving it options like -h, --help or /h doesn't seem > to provide any documentation. Have I missed something? (I've adopted > the same subject in case that helps.) See <http://www.cygwin.com/ml/cygwin/2006-03/msg00760.html>. You need to look at the 'setup.log' file for the output. I expect you'll be looking for the '-P' option, though you'll have to make the jump for Cygwin 1.7 to be able to use it (see cygwin.com for info on getting this). If you stick with 1.5, you can set up a dummy package in setup.ini, list all the packages you want as dependencies, and make the category "Base". This will force the current versions of these files to be installed without the need for any user selection. Another alternative is <http://sourceware.org/cygwin-apps/package-server.html>. It works on a similar principle but gives you control over the package versions as well. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |