From owner-freebsd-questions Tue Aug 6 12:38:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00BBD37B400 for ; Tue, 6 Aug 2002 12:38:09 -0700 (PDT) Received: from mta-1.gci.net (mta-1.gci.net [208.138.130.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6944B43E65 for ; Tue, 6 Aug 2002 12:38:08 -0700 (PDT) (envelope-from jonr@destar.net) Received: from mmp-1.gci.net ([208.138.130.80]) by mta-1.gci.net (Netscape Messaging Server 4.15) with ESMTP id H0FT7I00.G6P for ; Tue, 6 Aug 2002 11:38:06 -0800 Received: from win2kser ([24.237.6.229]) by mmp-1.gci.net (Netscape Messaging Server 4.15) with SMTP id H0FT7I03.23R; Tue, 6 Aug 2002 11:38:06 -0800 From: "Jon Reynolds" To: "Tor Stormwall" Cc: Subject: RE: Checking installed packages Date: Tue, 6 Aug 2002 11:38:01 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20020806192946.GA14013@ring> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----Original Message----- From: Tor Stormwall [mailto:tor@stormwall.org] Sent: Tuesday, August 06, 2002 11:30 AM To: Jon Reynolds Cc: freebsd-questions@freebsd.org Subject: Re: Checking installed packages On Tue, Aug 06, 2002 at 11:17:47AM -0800, Jon Reynolds wrote: > I am trying to find out whiat packages are installed on my freebsd4.6 box. I > know I have php installed but when I do an 'pkg_info' it doesn't show up. I > have read that this command will only show if I used the pkg_add or > pkg_create commands. So what is the command that would show everything > installed? Depends on if you installed the packages from ports/packages or if you compiled them by yourself. Check in /var/db/pkg and you should see all your installed packages. Best Regards, Tor Stormwall -------------------------------------------------------------- M A Y T H E S O U R C E B E W I T H Y O U Tor Stormwall http://creson.com/~tor tor@stormwall.org www.stormwall.org -------------------------------------------------------------- I installed by downloading the source and compiling and installing by myself. When I looked in /var/db/pkg it showed the exact same installed apps as using the pkg_info command. I have php installed in /usr/local/WebMailFiles/php-4.2.2, I had php-4.2.1 and am trying to insure that I have upgraded it to php-4.2.2. So I want to see which version is showing it has installed. I went into the old php-4.2.1 folder did a make clean then deleted the folder then configured the new php-4.2.2 and typed make && make install. Would this be the correct way to uninstall a program or is there a better way and did this actually uninstall the program? Jon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message