delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/05/01/20:06:10

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=ftr2plAigioa8iwJ
MONp3lk0A4GoJqocVry234FtGNqzF9qeDb1yHgUJz/oo5Bik5Ov0fOVdcQOm8tZN
Dwd7a4CPdO1+zgCaBJnhU5qYtdLxdBJGNfxyNTCX7njMhMoHnMd0IVZeA14bbvUE
MwcTYBEZI8dA5Kb4VZfg72n/xTY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=Q57uogpU4CHrcBG7pbgZYR
P9AUM=; b=QkOl3pV7yjuLKuecPbB67Ar5OJsF0IvjHuUU4COxkoxVVZKeAn+l0K
rGkerKi1PLhFXr9yV0HLrSC2CI/h04f06IJF16028sh8Lp4Z/6IFmbXgdnZC+/UA
QOKlCVYbLl9nTSg7Sji/E2TGn/ndLPNSnn5ZxzAEkOsbo3AsvqQKg=
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
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
Date: Sat, 2 May 2015 01:35:37 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1813375497.20150502013537@yandex.ru>
To: Dr Rainer Woitok <rainer DOT woitok AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Installation data under "~/Downloads/cygwin/"
In-Reply-To: <21827.25837.938200.991974@woitok.gmail.com>
References: <21827 DOT 25837 DOT 938200 DOT 991974 AT woitok DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019