X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_YG X-Spam-Check-By: sourceware.org X-Received: by 10.14.223.200 with SMTP id v48mr23629302eep.24.1359611978573; Wed, 30 Jan 2013 21:59:38 -0800 (PST) Message-ID: <510A0846.105@gmail.com> Date: Thu, 31 Jan 2013 06:59:34 +0100 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cygwin:the /usr/share directory References: <5109E1A7 DOT 7050005 AT gmail DOT com> <5109E355 DOT 2000908 AT cygwin DOT com> <5109F954 DOT 9080107 AT gmail DOT com> In-Reply-To: <5109F954.9080107@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 1/31/2013 5:55 AM, ping wrote: > On 1/30/2013 10:21 PM, Larry Hall (Cygwin) wrote: >> On 1/30/2013 10:14 PM, ping wrote: >>> hi experts: >>> I'm recently running out of disk and , it looks simply the /usr/share >>> occupies around 5G . >>> >>> [ping AT ping-new-laptop usr]$ du -sh ./share/ >>> 4.4G ./share/ >>> >>> >>> I'm thinking to remove this directory to release some space. but not >>> sure if >>> this will affect the whole cygwin from running properly. >>> or, if I can remove part of the contents, what is the minimum >>> packages that >>> I need to keep there? >> >> Mine is less than .5G so you apparently have allot more packages >> installed >> than I do (or you have one/some that generate allot more info in there). >> I'd recommend removing packages you're not using before trying to clean >> out any corresponding directories. Doing a "du -sh ./share/*" should >> give you a good overview of which directories contain the most stuff and >> help you target which packages you may consider removing. >> >> > attached is the package lists under share, I don't understand why I have > so many packages (over 10k)... > there is no way to determine which one I can remove an which ones I > can't... have you installed everything ? My system that is "very" large have only cd /usr/share $ find . -type d |wc -l 5556 subdirectories on /usr/shares $ cygcheck -c -d |wc -l 870 installed packages. First suggestion to save easily space: looks on the directory where you have setup and remove the download cache directories fttp* and/or http* probably you can save several gigas already there. On my lighter system: $ du -hs * 80M ftp%3a%2f%2fftp.cygwinports.org%2fpub%2fcygwinports%2f 18M http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f 570M http%3a%2f%2fwww.mirrorservice.org%2fsites%2fsourceware.org%2fpub%2fcygwin%2f After, start removing application that you are surely not using, development lib not needed , compiler for language not interesting for you I suggest to use "setup" and at "Select packages" go to the "Category" view (click few times on the view button) and start to remove all programs in categories you are not using Games, Math, Database, Gnome, KDE, .. ? Don't touch Base of course On the "up to date" view looks for fonts, development libs, documentation (texlive-collection-documentation-* is available in all languages and they are very large) you are not using. You only know what are you doing with cygwin, and decide what you do not need. Don't be afraid to remove too much, if something is needed for other programs you have not decided to remove setup will advise you before the removal and suggest to maintain. Regards Marco -- 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