delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/06/10:26:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 6 Jun 2003 10:26:32 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: andrew brian clegg <a DOT clegg AT mail DOT cryst DOT bbk DOT ac DOT uk>
cc: cygwin AT cygwin DOT com
Subject: Re: Removing old source packages
In-Reply-To: <Pine.LNX.4.44.0306061102000.4156-100000@sark.cryst.bbk.ac.uk>
Message-ID: <Pine.GSO.4.44.0306061022430.25752-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Fri, 6 Jun 2003, andrew brian clegg wrote:

> Hi folks.
>
> A couple of my cygwinned machines have got huge /usr/src trees because I'm
> a bit of an obsessive collector, and at some point in the past decided it
> would be really neat to install the sources for every package I install.
> (Which is usually all of them -- obsessive collector, see...)
>
> Now pragmatism and a home broadband connection have persuaded me to
> deinstall it all, and only get the sources as and when I need them, which
> is not often to be honest.
>
> When I run setup though it doesn't give me the option to explicitly remove
> sources for each package -- the Src? column for each package just says n/a
> and doesn't do anything when I click on it.
>
> This might be a stoopid question, but is there any reason why I shouldn't
> just blow away everything in /usr/src? Do any installers put other things
> in there that are used by applications at runtime? Should I leave the
> directory structure and delete the files or can I just wipe it all?
>
> Sorry if this is a weird thing to ask, I just don't want to accidentally
> remove things that programs have runtime dependencies on.
>
> Just getting back into this whole *nix thing after years in the MS
> wastelands -- it takes a bit of readjustment...
>
> Cheers, and thanks for all your hard work,
> Andrew.

Andrew,

As long as the programs are properly installed (either by setup or by
using "make install" or some such), there should be no dependence on
anything in /usr/src whatsoever.  This basically means that you may blow
away any and all things in /usr/src at will.  Fire away! :-)

N.B.: the above will not apply as soon as the RPM package is used, since
that package apparently uses a subdirectory in /usr/src as the RPM
repository, so beware.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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