From owner-freebsd-questions Tue May 4 7:56:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20]) by hub.freebsd.org (Postfix) with ESMTP id 16BA91570F for ; Tue, 4 May 1999 07:56:41 -0700 (PDT) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by tele-post-20.mail.demon.net with smtp (Exim 2.12 #2) id 10egch-0003Po-0K; Tue, 4 May 1999 14:56:39 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from support-3.uk.radan.com (support-3 [193.114.228.220]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id PAA00329; Tue, 4 May 1999 15:56:09 +0100 Received: from uk.radan.com by support-3.uk.radan.com (SMI-8.6/SMI-SVR4) id PAA11414; Tue, 4 May 1999 15:56:07 +0100 Message-ID: <372F0A45.A622CDD3@uk.radan.com> Date: Tue, 04 May 1999 15:55:01 +0100 From: Mark Ovens Organization: Radan Computational Ltd X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 4.1.3_U1 sun4m) X-Accept-Language: en-GB MIME-Version: 1.0 To: Spamoff Cc: freebsd-questions Subject: Re: Packages - how do you use therm References: <372EF790.48705528@tampabay.rr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Spamoff wrote: > > Hello :) > > I've been going around in circles with these and am getting nowhere depsite > having Greg's book and looking at the web site. > > 1) Can someone pleasqe expalin to me, succinctly, how you use packages after > you have installed them using /stand/sysinstall OR pkg_add. > > I've done it both ways, I searched for their location. I've tried to read the > files present and failed pretty much. > > Packages are supposed to be binary from what I understand, and ports are src > that you build ??? > You should just be able to type the name of the binary at a command prompt. You could try ``rehash'' first, then the binary name. Note that the binary name is not the exactly the same as the package name, the latter includes the version number, e.g. urlview-0.7 is the package but ``urlview'' is the filename. If all else fails look in /var/db/pkg//+CONTENTS look for line(s) ``@cwd'' and lines containing a likely filename: @cwd /usr/local ... bin/urlview.... This means your binary is ``/usr/local/bin/urlview'' HTH > 2) What's the advantage, if any, of using the ports ? I'm sure you can > change locations but what else ? > > Regards...Martin > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message