delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/31/09:52:09

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: Cygwin setup.exe via the cygwin shell
Date: Fri, 31 Oct 2008 09:51:07 -0500
Message-ID: <297343D29C14AA4D822142893ABEAEF30597D0CE@srv1163ex1.flightsafety.com>
In-Reply-To: <20259653.post@talk.nabble.com>
References: <20259653 DOT post AT talk DOT nabble 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 m9VEq7c3007704

acmeinc wrote on Thursday, October 30, 2008 10:27 PM:
> I'm trying to install Cygwin apps via the Cygwin shell rather than
opening
> and running the setup.exe via the windows interface.
> 
> I figure there must be a way, similar to FreeBSD ports tree, to
install
> Cygwin/Unix apps via the Cygwin shell.
> 
> This will also allow me to install and update apps remotely as I have
> OpenSSH setup.
> 
> Please let me konw if you any information regarding installing and
setting
> up Cygwin via the Cygwin shell.

----
$ setup.exe -h
$ cat setup.log
<snip>
Command Line Options:
 -D --download                          Download from internet
 -L --local-install                     Install from local directory
 -s --site                              Download site
 -R --root                              Root installation directory
 -P --packages                          Specify packages to install
 -p --proxy                             HTTP/FTP proxy (host:port)
 -q --quiet-mode                        Unattended setup mode
 -h --help                              print help
 -l --local-package-dir                 Local package directory
 -r --no-replaceonreboot                Disable replacing in-use files
on next
                                        reboot.
 -X --no-verify                         Don't verify setup.ini
signatures
 -n --no-shortcuts                      Disable creation of desktop and
start
                                        menu shortcuts
 -N --no-startmenu                      Disable creation of start menu
shortcut
 -d --no-desktop                        Disable creation of desktop
shortcut
 -K --pubkey                            Path to extra public key file
(gpg
                                        format)
 -S --sexpr-pubkey                      Extra public key in s-expr
format
 -u --untrusted-keys                    Use untrusted keys from
last-extrakeys
 -U --keep-untrusted-keys               Use untrusted keys and retain
all
 -A --disable-buggy-antivirus           Disable known or suspected buggy
anti
                                        virus software packages during
                                        execution.
----

For example (untested), to install vim and bc:

setup.exe -d -q -R 'c:\cygwin' -s 'http://mirrors.xmission.com/cygwin/'
-l 'c:\cygwin\home\thrall' -P vim,bc

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