From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130680 invoked by alias); 2 May 2015 00:05:53 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 130665 invoked by uid 89); 2 May 2015 00:05:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_JMF_BL,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp.ht-systems.ru Received: from smtp.ht-systems.ru (HELO smtp.ht-systems.ru) (78.110.50.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 02 May 2015 00:05:50 +0000 Received: from [109.252.17.29] (helo=darkdragon.lan) by smtp.ht-systems.ru with esmtpa (Exim 4.80.1) (envelope-from ) (Authenticated sender: postmaster@rootdir.org) id 1YoKwA-0000RR-9l ; Sat, 02 May 2015 03:05:42 +0300 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 01 May 2015 22:35:38 -0000 Date: Sat, 02 May 2015 08:50:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <1813375497.20150502013537@yandex.ru> To: Dr Rainer Woitok , cygwin@cygwin.com Subject: Re: Installation data under "~/Downloads/cygwin/" In-Reply-To: <21827.25837.938200.991974@woitok.gmail.com> References: <21827.25837.938200.991974@woitok.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00026.txt.bz2 Greetings, Dr Rainer Woitok! > after installing and updating Cygwin for several times, my administrator > account's "~/Downloads/cygwin/" directory now amounts to roughly 6GB of > data, partially dating back to 2009. Is all this stuff still needed? > If not, what to keep? All the "*.ini" files? Or only the latest > "*.ini" file? Or what? You may safely nuke everything that is not your Cygwin installation. If you want to maintain a cache of downloaded packages elsewhere, copy setup.exe to a dedicated location before starting an upgrade/installation. Alternatively, this script may be of help. #!/bin/sh # Cygwin upgrade helper script. # Usage: # # install-cygwin.sh [ ports ] # # If you intend to use it for new installs, you will need minimal bootstrap # including POSIX shell interpreter and wget utility. # # You will have to edit the script to provide mirror URL of your choice. # # The script assumes existing installation of the same architecture as # the host operating system. # If you want to install 32-bit Cygwin on 64-bit host, override # $ARCH with value other than "x86_64". # F.e. # # ARCH=x86 ./install-cygwin.sh # Mirror URL - don't include trailing slash! MIRROR="${MIRROR:-http://example.com/Mirrors/sources.redhat.com/cygwin}" # System architecture. ARCH="${ARCH:-$(uname -m)}" # Localization is fine... as long as you don't show it to other people. export LANG=C if [ "$ARCH" != "x86_64" ]; then ARCH=x86 fi wget -N "http://cygwin.com/setup-${ARCH}.exe" if [ "$1" = "ports" ]; then KEYS="-K http://cygwinports.org/ports.gpg -s ""${MIRROR%%/}ports/" shift fi ./setup-${ARCH}.exe -O -s "${MIRROR%%/}/" $KEYS $* & -- With best regards, Andrey Repin Saturday, May 2, 2015 01:10:10 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple