X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Tony Richardson Subject: Re: Customize setup program. Date: Mon, 5 Nov 2007 16:14:46 +0000 (UTC) Lines: 39 Message-ID: References: <472EF986 DOT 4010806 AT lx DOT it DOT pt> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com João Pedro Oliveira lx.it.pt> writes: > Is it possible to call the setup program in quiet mode (or not quiet) > and pass to the setup the packages we want to install? I would not like > the user "lost" in all the steps of the cygwin setup... You can define your own package in the setup.ini file that is in the Base category and have it "require" the packages that you want automatically selected. For example, I have a small file that looks like this: @ UEBASE sdesc: "Required packages for UE programming courses." ldesc: "Required packages for UE programming courses." category: Base requires: a2ps gcc gcc-core gcc-g++ gcc-g77 gcc-gdc gcc-gpc gcc-java ... version: 1.0.0-0 The requires field actually contains about 100 entries. I just append this file to the setup.ini file before running setup cat ue_setup.ini >> setup.ini Then run setup and all of your desired packages are automatically selected for installation. It is not quite an unattended install, but it is just a "click-thru" install. You can get the initial list of required packages by setting up one machine with the standard setup and then getting the list of installed packages from the /etc/setup/installed.db file. I tweak this from semester to semester to add and remove packages before we re-image our lab machines. More importantly, I provide it to students to ensure that they have all of the necessary software on their personal machines for software development. Tony Richardson -- 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/