Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the value or URL for PKG_PATH used to inform NetBSD 6.0.1 where to download binary packages from? There seems to be a change in both servers as well as the path or directory layout for the packages directory. I have tried and failed to figure it out. I am using NetBSD on an i386 architecture.

share|improve this question
This should be answered autoritatively at netbsd.org. What makes you think we here know better? – vonbrand Feb 11 '13 at 3:18
http://ftp.NetBSD.org/pub/pkgsrc/packages/$(uname -s)/$(uname -m)/$(uname -r|cut -f '1 2' -d.)/All

The above code should work for every version of NetBSD you have.


share|improve this answer

The PKG_PATH is ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/6.0/All/

(stackexchange won't let me enter a short answer, so here goes)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.