From owner-freebsd-questions Fri Mar 29 15:23:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by hub.freebsd.org (Postfix) with ESMTP id 8BB3237B44B for ; Fri, 29 Mar 2002 15:23:28 -0800 (PST) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 2EBB928DD5; Fri, 29 Mar 2002 18:23:28 -0500 (EST) Date: Fri, 29 Mar 2002 18:23:28 -0500 (EST) From: Peter Leftwich X-X-Sender: To: Jonathan Arnold Cc: Zach Barnett , FreeBSD Questions Subject: Re: Packages and Ports In-Reply-To: <200203291659570651.10548307@mail.attbi.com> Message-ID: <20020329181926.B75496-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Fri, 29 Mar 2002, Jonathan Arnold wrote: > >I'm new to Freebsd, and I've been trying to learn about packages and ports. > Packages are basically pre-built and nicely packaged ports. They're normally a lot easier to install, and much smaller. But, like the kernel, it is built for the widest range of computers, and thus may not be tuned to your computer. Packages are super easy to install, although you kind of have to know what name they are listed under (you can do this by ftp'ing to the FreeBSD.Org site and do a directory listing). The simplest method is: myprompt$ pkg_add -r pkgname_here Remember, these are a cookie-cutter one-size-fits-all mold, so you may wish to instead manually ftp a package's directory (or tarball which is a *.tgz or *.tar.gz file) to your box, peruse the contents and check out the security etc then manually do a "make." > It is also easier to keep up to date with ports, by using cvsup, while it does't seem to be as easy to keep up to date with packages. You have a lot of packages on your CDROMs, but as I found out in my recent move to FreeBSD, no where does it tell you which packages do you have, and on what CD are they. To find out which packages *are* install already on your box, type: myprompt$ pkg_info | more To find out which packages are available on the CDROM(s), just mount the cd drive and cd /-cdrom-mountpoint-/usr/src/...etc > -- > Jonathan Arnold (mailto:jdarnold@buddydog.org) > Daemon Dancing in the Dark, a FreeBSD weblog: > http://jdarnold.tzo.com/FreeBSD -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message