questions on source files

Duane Attaway dattaway at dattaway.org
Wed Dec 18 17:33:52 CST 2002


On Wed, 18 Dec 2002, Eric R. wrote:

> If you install, say apache, to /usr/local/apache...  How would one
> un-install said source file?  Is there a way to uninstall source files?
> Will deleting the apache directory under /usr/local do the trick?  If
> you simply install a newer release of apache in /usr/local/apache, will
> that upgrade it?

As an example of a source code packaging system with gentoo:

emerge -C apache   <-- to remove
emerge -u apache   <-- to build new, uninstall old, and upgrade to new

Handling of the source there was done automatically.  But it is different
doing things manually from tarballs without any packaging system.

If you install it directly from a tarball and not from a package, you know
where your source files are, because you kept track of it all, right?  
Sometimes overwriting older versions of software will do the trick.  But 
sometimes older libraries will be looked up first by the new software.  It 
gets interesting when dealing with hundreds of packages.  One of them 
might play a game with you.

--
Why drive a car when you can ride a bike?
http://attaway.net                 http://counter.li.org   user #142150




More information about the Kclug mailing list