gabriel rosenkoetter on Sat, 8 Jun 2002 05:36:40 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] NetBSD Q: pkgsrc


On Fri, Jun 07, 2002 at 02:47:40PM -0400, Samantha wrote:
> I was wondering if there is a way to install packages without downloading 
> the entire pkgsrc

Keep in mind that "the entire pkgsrc" is just a bunch of Makefiles
(and a few short text files). The full source for a given package is
only downloaded (into pkgsrc/distfiles) when you install the
package. The pkgsrc tarball probably takes longer to untar that it
does to download on anything resembling broadband or above (and a
56k modem may resemble it sufficiently, depending on your hard drive
speed).

That said, certainly! Use binary packages! Get the package you want
from ftp://ftp.netbsd.org/pub/NetBSD/packages/<version>/<arch>,
where <version> is something like 1.5.2 and <arch> is (probably)
i386. (Note that binary package support for archs other than i386 is
a little bit spotty, but an packages for a NetBSD version *older*
than the kernel you're running will always work, provided you
haven't actively removed COMPAT_ lines from your kernel config and
rebuilt it.) Even if you're running a -current system, you can use
1.5.x (or older, really) packages (though if you're tracking
-current, your probably the kind of person who wants to build your
own packages too.)

Once you've got the package files, use pkg_add(1) to install the.

-- 
gabriel rosenkoetter
gr@eclipsed.net

Attachment: pgpruiU0fjcUo.pgp
Description: PGP signature