From owner-freebsd-questions@FreeBSD.ORG Thu Dec 14 18:50:28 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7642516A40F for ; Thu, 14 Dec 2006 18:50:28 +0000 (UTC) (envelope-from avatar4d@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2788943E8F for ; Thu, 14 Dec 2006 18:44:43 +0000 (GMT) (envelope-from avatar4d@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so298189nzh for ; Thu, 14 Dec 2006 10:46:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=tyRprQzXqtCCOn0ZA6nU6vGXztIf74pcRiP9Tf3gZwBKBnaCyByiqbq5HoN0qkk9xqDF+lDozrGGvaDbvXxq6oKrNQOBvkqRdQ6+0riQWTuMDaLz/6NPRRPDorZ4xKYJRA7M7W04WanbqY4om99TVM7d1UPAyaRJPBRjU8BQdq8= Received: by 10.65.154.4 with SMTP id g4mr1974084qbo.1166121972653; Thu, 14 Dec 2006 10:46:12 -0800 (PST) Received: by 10.65.75.14 with HTTP; Thu, 14 Dec 2006 10:46:12 -0800 (PST) Message-ID: <17489c7a0612141046vbafc98dw482896a33fcb8d67@mail.gmail.com> Date: Thu, 14 Dec 2006 13:46:12 -0500 From: "Chad Gross" To: "Frank Staals" In-Reply-To: <45819393.20700@gmx.net> MIME-Version: 1.0 References: <45819393.20700@gmx.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: Getting a list of dependencies which have to be installed ? 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: Thu, 14 Dec 2006 18:50:28 -0000 On 12/14/06, Frank Staals wrote: > > Hey..., > > Is there a utility to display the dependencies of a port which have yet > to be installed ? I know you can get a complete dependency list on > freebsd.org/ports , pkg_info -r or just looking in the files in the > ports dir. But is there a command to display only the dependencies which > haven't been installed on your system yet ? I also looked at pkg_add -n > but it immediately starts fetching the packages needed. I don't want to > start downloading the complete package just because I want a list of > ports I haven't installed yet. > > Or is the only way making a diff between the pkg_info -r output and your > pkg_info -a ? If so : Is there a way to tell pkg_info when using the -r > flag on a not-yet-installed-port to only get a list of the dependencies > instead of downloading the complete package ? Or is there just an other > utility which can display this information which I'm not aware of ? > > Thanks in advance, > > -- > -Frank Staals > > > _______________________________________________ Yes, read man ports before asking : http://www.freebsd.org/cgi/man.cgi?query=ports&apropos=0&sektion=0&manpath=FreeBSD+6.1-RELEASE&format=html cd to the dir of the port you wish to know the dependencies of and issue one or both of these commands: *pretty-print-run-depends-list*, *pretty-print-build-depends-list* Print a list of all the compile and run dependencies, and dependencies of those dependencies. Chad