From owner-freebsd-questions Sun Nov 19 12:10:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id E277A37B479 for ; Sun, 19 Nov 2000 12:10:37 -0800 (PST) Received: by pcwin002.win.tue.nl (Postfix, from userid 1001) id 239B9134A2; Sun, 19 Nov 2000 21:08:32 +0100 (CET) Date: Sun, 19 Nov 2000 21:08:32 +0100 From: Stijn Hoop To: Allan Dib Cc: questions@freebsd.org Subject: Re: Installing a port Message-ID: <20001119210832.B69727@pcwin002.win.tue.nl> References: <3a182715.ca.0@webcentral.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3a182715.ca.0@webcentral.com.au>; from dib.allan.l@edumail.vic.gov.au on Mon, Nov 20, 2000 at 06:16:37AM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, On Mon, Nov 20, 2000 at 06:16:37AM +0000, Allan Dib wrote: > I wonder if anyone can answer what is probably a very basic question. I've > been reading some BSD documentation and often it will say in regard to > installing a port something like "simply change > /usr/ports/the-port-you-want-to-install and run 'make install'". I have > always used the command "make install". However lately I've seen a lot of > documentation say to use the command 'make && make install' what's the > difference and which should one use?? Hum, I can't think right away of a difference other than that the first is a lot shorter. 'make install' does a 'make all' (which is what you get if you type 'make') internally. The most secure method would be to do 2 separate steps: 1. cd /usr/ports/foobar && make as a user 2. become root and do cd /usr/ports/foobar && make install However, this breaks if the port needs to install any dependencies (because it'll try to install those using your user account), so you'll have to install each port manually. For normal use, just use 'make install' as root and you'll be fine. HTH, --Stijn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message