From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 119631 invoked by alias); 8 Jul 2018 20:41:56 -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 119618 invoked by uid 89); 8 Jul 2018 20:41:56 -0000 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 Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.12) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 08 Jul 2018 20:41:54 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with ESMTP id cGVDfEekQOFAwcGVEfYlbN; Sun, 08 Jul 2018 14:41:52 -0600 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: cleanup disk space (was: /lib/debug/usr/bin/cygwin1.dbg) To: cygwin@cygwin.com References: <20180708174540.GA32080@rus.uni-stuttgart.de> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: Date: Sun, 08 Jul 2018 20:41:00 -0000 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: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-07/txt/msg00064.txt.bz2 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