Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2010 10:22:03 +0000
From:      krad <kraduk@googlemail.com>
To:        Kurt Buff <kurt.buff@gmail.com>
Cc:        questions@freebsd.org, Joe Springer <joespr@yahoo.com>
Subject:   Re: Pain finding packages
Message-ID:  <d36406631001310222i5c2cf4ado22f1b83adfb268c8@mail.gmail.com>
In-Reply-To: <a9f4a3861001301542w4af76598i2983b6f3aacb275e@mail.gmail.com>
References:  <881950.49266.qm@web31101.mail.mud.yahoo.com> <a9f4a3861001301542w4af76598i2983b6f3aacb275e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30 January 2010 23:42, Kurt Buff <kurt.buff@gmail.com> wrote:

> 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
> installed FreeSDB for the first time, I wanted to install some packages. For
> example, samba.
> >
> > I found that
> >
> >   pkg_add -r samba
> >
> > fails. I need to know specifically the samba version to install it.
> >
> > To install, I needed do this:
> >   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=samba | less
> or
>     cd /usr/ports
>     make search key=samba | less
>
> Then browse that list to see what most particularly applies to your needs.
>
>
> HTH,
>
> Kurt
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>


he is a one liner to update your ports tree

csup -h cvsup.uk.FreeBSD.org  /usr/share/examples/cvsup/ports-supfile

you might want to replace uk with your country code though



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