Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2002 21:24:35 -0700
From:      Chris Fedde <chris@fedde.littleton.co.us>
To:        Jonathan Hilgeman <JHilgeman@ecx.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Uninstalling Programs From Source 
Message-ID:  <200201220424.g0M4OZ821415@fedde.littleton.co.us>
In-Reply-To: <5D90F61EB6FDD411836500508B137F1A01408A0A@mailsvr.ecx.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 21 Jan 2002 17:13:50 -0800  Jonathan Hilgeman wrote:
 +------------------
 | I don't think this is FreeBSD-specific, but I installed PHP from source a
 | few months back, and now I'm a little lost on how to uninstall it.
 | Installing it was simple enough, but I just don't know how to uninstall
 | something done from source. From now on - nothing but ports. :) Thanks in
 | advance!
 +------------------

First cd to the PHP source directory. Then do the following.

    touch now
    make install
    find / -newer now > t

Now you have a file called 't' that contains the names of all files
that were created by the install among other things like log files
and such.  By and large this will work with most plain source distributions.
BTW it's not too hard to make packages out of stuff that you install from source.

Section 4.4.1. of the handbook talks about making a port yourself.

Good Luck

--
    Chris Fedde

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201220424.g0M4OZ821415>