It's a bit different. Assuming that you are using i386 and bourne shell:
export PKG_PATH=ftp://ftp.NetBSD.org/pub/NetBSD/packages/1.6.2/i386/All
pkg_add -v mozilla
Simple as that, check out pkg_add(1)

Cheers, NikV

On Thursday 22 July 2004 16:34, Ogre wrote:
> Me again...I left out some pertinant info (the coffee hasnt kicked in yet
> :P) Yeah, I'm running NetBSD, 1.6.2.  I just found documentation that
> pointed to the FreeBSD docs for more info...and when I RTFM for FreeBSD, I
> see theres a "-r" option for pkg_add that will fetch the correct everything
> for my package (right?).  Looks like I may have answered my own question.
> I'll try this option tonight. Sorry for wasting your time!
>
>
> Reggie
>
> ---------- Original Message ----------------------------------
> From: "Jorn Argelo" <[EMAIL PROTECTED]>
> Date:  Thu, 22 Jul 2004 15:26:02 +0200 (CEST)
>
> >I'm not really sure if it matters or not, but using ftp.freebsd.org
> >might make a difference. Not sure if NetBSD uses the same ports-tree as
> >FreeBSD does.
> >
> >Cheers,
> >
> >Jorn
> >
> >> Hi,
> >> I've installing several packages (using pkg_add) lately, and tried
> >
> >many more.  I generally use the pkg_add ftp://ftp.netbsd.org/(...)
> >method, with decent success.  My problem is that I cannot always find
> >the packages I need! For example, while installing a package listed
> >under ftp.netbsd.org/pub/NetBSD/packages/1.6/sparc/All/, I've found that
> >a package dependancy was in
> >ftp.netbsd.org/pub/NetBSD/packages/1.5.3/sparc/All/!?  In another case,
> >I could not find the dependancy in ANY of the distributions!
> >
> >> Am I just blind? What am I missing here? What is a good way to find
> >
> >where my dependancies reside, without having to search through every
> >distro's package list? What is the logic behind the layout? I'm assuming
> >that the packages listed for each distro just happened to be updated, or
> >ported, during that distro's upcoming?
> >
> >> Very confused. Please help.
> >>
> >> Thanks,
> >> Reggie
> >> _______________________________________________
> >> [EMAIL PROTECTED] mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to
> >
> >"[EMAIL PROTECTED]"
>
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to