delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/07/08/16:42:07

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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Xc3S+0XODCKcSs+0
aRlW7lV3yfr3vMxFdoUvA3AbQmwpSuyz0DfBtUw/1UYrLKkVsWDuE4rThMkjnItV
1Z53C25J7qxRjQz9/vgqF0TPfpf/OcfiEadh/JCtmeZ/+cYG8cLTuC9VYyFv+nwS
Zr1FveJK4Gg8wY28DFQ76sP7htc=
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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=ttCJ5unEumLysCFFFbBr6P
EyQU0=; b=vuWkv+ILA5aNAn6NfwYmhJSIjxwTmUePoGuUazFYu21RvbupGn7ieT
OXBoHcb0aN23171Q2pL4XCilG4sFSqjMTQKyHXqf1inmL4s4+vV5N4J6yzF1mHy8
YxaxemwDY+SHE0gY+qUuJmPBcyP4V4XuJVDQgKoF8tD8J86yTZrtg=
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-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=canada, Canada, backgrounds, stressful
X-HELO: smtp-out-no.shaw.ca
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: cleanup disk space (was: /lib/debug/usr/bin/cygwin1.dbg)
To: cygwin AT cygwin DOT com
References: <20180708174540 DOT GA32080 AT rus DOT uni-stuttgart DOT de> <e5ae9429-82a1-5100-121a-154f88687929 AT tiscali DOT co DOT uk>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Openpgp: preference=signencrypt
Message-ID: <a34c0083-c5a6-62cd-e1db-b2349ab8f973@SystematicSw.ab.ca>
Date: Sun, 8 Jul 2018 14:41:51 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0
MIME-Version: 1.0
In-Reply-To: <e5ae9429-82a1-5100-121a-154f88687929@tiscali.co.uk>
X-IsSubscribed: yes

On 2018-07-08 12:06, David Stacey wrote:
> On 08/07/18 18:45, Ulli Horlacher wrote:
>> I am really short of disk space and I am looking for files I can
>> delete without trouble.
>>
>> /lib/debug/usr/bin/cygwin1.dbg has 24 MB. Does cygwin really need it or is
>> it just for debugging purposes, in which case I could delete it?
> 
> The best way to do this is to launch Cygwin's 'setup' application and remove any
> packages that you don't need. Deleting any 'debuginfo' packages that you don't
> need will recover the most drive space, without affecting functionality too much.
> 
>> I already have deleted /usr/share/doc/gtk3/ChangeLog with 14 MB...
> 
> It's better to remove packages using Cygwin's 'setup' rather than arbitrarily
> deleting files...

More usable for browsing might be Windows GUI utilities like (for 10 read 4):

https://www.howtogeek.com/113012/10-best-free-tools-to-analyze-hard-drive-space-on-your-windows-pc/

which may highlight areas you forgot or did not know about, and generally
articles like:

https://www.makeuseof.com/tag/delete-windows-files-folders/

their links, and similar info on PC magazine web sites, which advise on deleting
Windows junk.

Also check installed Windows apps, Windows and user's profile's temp and
download directories, including browser caches, and your Cygwin mirror download
directory/-ies.

Don't delete anything if you don't understand what it's for or does, or you'll
need to find serious help on recovering Windows or Cygwin installs: you can
learn a lot that way, but it can be time consuming and stressful: BTDT ;^>

Besides -debug, -doc, and -devel packages you do not *need*, also look at
texlive, compilers, fonts, backgrounds, wallpapers, and icons packages; run

	$ du -hs /.../ | sort -k1hr

to highlight the hogs among /tmp, /var/* esp. cache, log, maybe spool and tmp,
/usr/share/* esp. doc, info, man and some others which may yield surprises;
avoid any paths that include virtual or Windows directories, like /proc i.e.
/proc/cygdrive/, maybe also /home if that links to Windows dirs, as that will
take a while and duplicate OS utilities.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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