Pkgsrc support.

Carl A. Schmidt carl at
Sat Sep 3 20:24:39 PDT 2005

On Sun, Sep 04, 2005 at 10:41:29AM +0800, Wade wrote:
> On 04/09/05, Carl A. Schmidt <carl at xxxxxxxxxxxxxxx> wrote:
> > Since you have now stated that pkgsrc will most likely be the
> > preferred way of doing things, would it be useful to start removing
> > references to the FreeBSD port system throughout the documentation?
> > --
> > Carl Schmidt
> Also, what about the pkg_* tools? And the packages on - they
> are from the old ports collection, right? Is it OK to mix those
> packages with things you've installed from pkgsrc?

Well, I know that pkgsrc informs you to rename the original pkg tools on
the host system so that they don't get confused with the pkgsrc tools.
I don't know about the packages, but I imagine they are ports
based.  I have no idea how the project intends on incorporating pkgsrc
natively, if that's planned at all (where the alternative, I guess,
would be to just inform the user how to get pkgsrc and how to go about
setting it up).  If it is incorporated in some native fashion, then I'd
guess the pkg tools will be put in base.

As far as mixing packages goes, ports generally install to /usr/local
whereas pkgsrc has to be told where to install to first, and I believe
general practice is to install to /usr/pkg.  The only conflict that
arises is the pkg db for both systems is installed in the same place
by default, so you'd have to tell pkgsrc to put the pkg db elsewhere.
Then you'd just add /usr/pkg/{bin,sbin} to your path and you're all
set (I'm assuming you didn't already know all of that, sorry if I gave
more information than was necessary).
Carl Schmidt
carl at xxxxxxxxxxxxxxx

More information about the Users mailing list