This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Removing old source packages


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]