From owner-freebsd-questions@FreeBSD.ORG Wed Apr 19 06:03:37 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 976A916A402 for ; Wed, 19 Apr 2006 06:03:37 +0000 (UTC) (envelope-from duane@greenmeadow.ca) Received: from smtpout.eastlink.ca (smtpout.eastlink.ca [24.222.0.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41F5B43D45 for ; Wed, 19 Apr 2006 06:03:37 +0000 (GMT) (envelope-from duane@greenmeadow.ca) Received: from ip04.eastlink.ca ([24.222.10.20]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IXY00L2QGU8GFE0@mta01.eastlink.ca> for freebsd-questions@freebsd.org; Wed, 19 Apr 2006 03:03:44 -0300 (ADT) Received: from blk-224-199-230.eastlink.ca (HELO [192.168.0.103]) ([24.224.199.230]) by ip04.eastlink.ca with ESMTP; Wed, 19 Apr 2006 03:03:36 -0300 Date: Wed, 19 Apr 2006 03:02:48 -0300 From: Duane Whitty In-reply-to: To: Low Kian Seong Message-id: <4445D288.8060108@greenmeadow.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAQAAA+k= References: User-Agent: Thunderbird 1.5 (X11/20060309) Cc: freebsd-questions@freebsd.org Subject: Re: How do you tell pkg_add to just download the packages ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2006 06:03:37 -0000 Low Kian Seong wrote: > Dear all, > > I come from a debian background, and in debian you can pass an argument to > apt-get to tell it to download all the packages first without installing > them first, is there a similar argument that I can pass to pkg_add ( I want > to use binaries ) or are there other tools I can use ? > > Thanks. > _______________________________________________ > Hi, Try portupgrade(1) (man 1 portupgrade) # cd /usr/ports # portupgrade -NFPPv name-of-package This says this may be a new installation "N" Go get the files (packages), do not install anything "F" Use packages only, fail if packages not available "PP" (important to use two upper-case Ps here) Be verbose "v" If you also want to fetch dependencies you can add -R. This will recurse through all the dependencies the new package needs # cd /usr/ports # portupgrade -NFPPRv name-of-package Best Regards, Duane Whitty -- duane@greenmeadow.ca