Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jan 2010 15:42:19 -0800
From:      Kurt Buff <kurt.buff@gmail.com>
To:        Joe Springer <joespr@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: Pain finding packages
Message-ID:  <a9f4a3861001301542w4af76598i2983b6f3aacb275e@mail.gmail.com>
In-Reply-To: <881950.49266.qm@web31101.mail.mud.yahoo.com>
References:  <881950.49266.qm@web31101.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 30, 2010 at 10:48, Joe Springer <joespr@yahoo.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a9f4a3861001301542w4af76598i2983b6f3aacb275e>