From owner-freebsd-questions@FreeBSD.ORG Sat Jan 30 23:42:20 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AEED106566B for ; Sat, 30 Jan 2010 23:42:20 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-iw0-f198.google.com (mail-iw0-f198.google.com [209.85.223.198]) by mx1.freebsd.org (Postfix) with ESMTP id C6F5D8FC17 for ; Sat, 30 Jan 2010 23:42:19 +0000 (UTC) Received: by iwn36 with SMTP id 36so3439146iwn.3 for ; Sat, 30 Jan 2010 15:42:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LTxCCxwP9aZvLhPUeNEP3xlB+GFn39DW6djHVkfr+VY=; b=Uh4+tMPsaf/wzm6qLVLuypO6vIdCXIknhsbqoZqRgNKwaHI0UGCg9nG+KmixqmkgV4 /UQtxq/S0hbE3MtZB6qF2r6Y65ikA9AMtGnpIIMkjJ0MfY4Jp4A64VKuvMhffl95YobK mTYp7T5kaTAriIeHEt2/GULCKhlZr2zZYk4Aw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Yahs42oOvR/Y26YYSNYHvxH+r9abhPPCw4qLz7Oz1hhx+hiRZrgb/qk2bxgbVcVWIT B/W/F5WpwkbO/ubOcJvd+7SJ0avjN33Mjjyzz8y+VHvtcDXwBiLVbWs8KTwaPc91S5Zf VSNOdukSfX/+9C6I4uVODGnrlZjEiwp60Oe00= MIME-Version: 1.0 Received: by 10.231.154.207 with SMTP id p15mr1680820ibw.91.1264894939096; Sat, 30 Jan 2010 15:42:19 -0800 (PST) In-Reply-To: <881950.49266.qm@web31101.mail.mud.yahoo.com> References: <881950.49266.qm@web31101.mail.mud.yahoo.com> Date: Sat, 30 Jan 2010 15:42:19 -0800 Message-ID: From: Kurt Buff To: Joe Springer Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org Subject: Re: Pain finding 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: Sat, 30 Jan 2010 23:42:20 -0000 On Sat, Jan 30, 2010 at 10:48, Joe Springer wrote: > Hi. > > I am very new to FreeBSD with several years of Linux experience. After in= stalled FreeSDB for the first time, I wanted to install some packages. For = example, samba. > > I found that > > =C2=A0 pkg_add -r samba > > fails. I need to know specifically the samba version to install it. > > To install, I needed do this: > =C2=A0 pkg_add -r samba3 > > This is difficult. Do I need to look up every package in advance on your = website to understand what version I need to install? > > Isn't there a way to specify "Install the latest version of some package = that is appropriate to the version of my installed FreeBSD"? > > Thanks, > Joe Not really. However, you should have installed a copy of the ports tree during the creation of your machine. Here are your tools: csup (or portsnap, either of which will keep your ports tree current), portupgrade (or portmaster or one of a couple of others, to upgrade your current ports) and make. csup is native, and portupgrade seems to be more commonly used than the others of its kind. For make, do the following, after csup (or an alternative): cd /usr/ports make search name=3Dsamba | less or cd /usr/ports make search key=3Dsamba | less Then browse that list to see what most particularly applies to your needs. HTH, Kurt