From owner-freebsd-questions Fri Aug 24 3:11:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.halplant.com (24-168-203-47.wo.cox.rr.com [24.168.203.47]) by hub.freebsd.org (Postfix) with ESMTP id BBE4937B40B for ; Fri, 24 Aug 2001 03:11:36 -0700 (PDT) (envelope-from A.J.Caines@halplant.com) Received: by mail.halplant.com (Postfix, from userid 1001) id A60CE1F57; Fri, 24 Aug 2001 06:11:25 -0400 (EDT) Date: Fri, 24 Aug 2001 06:11:25 -0400 From: Andrew J Caines To: freebsd-questions@freebsd.org Subject: Re: 1st FreeBSD ports install Message-ID: <20010824061125.H431@hal9000.servehttp.com> Reply-To: Andrew J Caines Mail-Followup-To: freebsd-questions@freebsd.org References: <20010824060658.38468.qmail@web20202.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010824060658.38468.qmail@web20202.mail.yahoo.com>; from bsdspaceman@yahoo.com on Thu, Aug 23, 2001 at 11:06:58PM -0700 Organization: H.A.L. Plant X-Powered-by: FreeBSD 4.4-RC X-PGP-Fingerprint: C59A 2F74 1139 9432 B457 0B61 DDF2 AA61 67C3 18A1 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 jim, > I would like to ask a couple questions about using > ports. I've been downloading PostgreSQL7 for the last > hour or so.. all seems to be going well. I just cd'ed > to /usr/ports/databases/postgresql7 then typed make. > Away it went. Anyway, do I need to do make build, or > make install, or make clean? Thanks.. TFM, which you are recommended to R is the excellent FreeBSD Handbook. In this case you will want to look at Chaper 4, "Installing Applications: Packages and Ports", particularly section 4.4.1 "Installing Ports". In short, run "make" as a regular user to download, patch, configure and build, then run "make install" as root to install. You can then clean up with "make clean". Various combinations and permutations will work. > Also, I know debian linux has a 'apt-getupdate' > feature to get the latest version. Can anyone tell me > if FreeBSD have anything similar? Maybe another port? The ports collection is updated regularly. You can keep up-to-date with the latest ports in the same way as you can keep up with the system sources using "cvsup". See section 20.3 "Synchronizing Your Source" As well as the handbook, there are guides, tutorials, man pages and mailing list archives to help you. The FreeBSD web site is a good starting point. Once you've got the hang of it, you might like to look at the "portupgrade" port. This will give you the power of ports and some of the convenience of apt-get. -Andrew- -- ______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines@halplant.com | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message