From owner-freebsd-questions Mon Jun 12 14: 0:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.hellasnet.gr (mail.hellasnet.gr [212.54.192.3]) by hub.freebsd.org (Postfix) with ESMTP id 6B61937B7A3 for ; Mon, 12 Jun 2000 14:00:31 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (ppp5.patr.hellasnet.gr [212.54.197.20]) by mail.hellasnet.gr (8.9.1/8.9.1) with ESMTP id WAA09156; Mon, 12 Jun 2000 22:58:45 +0200 (GMT) Received: (from charon@localhost) by hades.hell.gr (8.10.2/8.10.2) id e5DKiRI01169; Tue, 13 Jun 2000 23:44:27 +0300 (EEST) Date: Tue, 13 Jun 2000 23:44:27 +0300 From: Giorgos Keramidas To: Rahul Siddharthan Cc: Tyler Spivey , freebsd-questions@FreeBSD.ORG Subject: Re: packages Message-ID: <20000613234426.A1119@hades.hell.gr> References: <200006112112.OAA26395@viper.wapvi.bc.ca> <20000612025259.B22528@physics.iisc.ernet.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000612025259.B22528@physics.iisc.ernet.in>; from rsidd@physics.iisc.ernet.in on Mon, Jun 12, 2000 at 02:52:59AM +0530 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jun 12, 2000 at 02:52:59AM +0530, Rahul Siddharthan wrote: > > Tyler Spivey said on Jun 11, 2000 at 14:12:36: > > whats the equiv of: > > dpkg -L packagename > > it lists the files in that package? > > pkg_info -L > man pkg_info You can alternatively look in /var/db/pkg/PACKAGE-VERSION/+CONTENTS, to see which files are installed by each package. For instance, on my /var I can see: % cd /var/db/pkg % ls -ld par* drwxr-xr-x 2 root wheel 512 Jun 11 05:13 par-1.50/ % more par-1.50/+CONTENTS @name par-1.50 @cwd /usr/local man/man1/par.1.gz @comment MD5:8cb79b0243be3336344a1ab2308767ba bin/par @comment MD5:986f197bcf2f2c5ec685bbcfe57f7075 Which means that /usr/local/bin/par and /usr/local/man/man1/par.1.gz are the files that were installed by the package. Of course, that is exactly what pkg_info does for you. I only wanted to note that all the information you're looking for is already in /var/db for you to browse with your normal shell utilities. -- Giorgos Keramidas, < keramida @ ceid . upatras . gr > For my public key: finger keramida@ceid.upatras.gr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message