Joyent

PKGSRC on Accelerators

pkgsrc is the centralized package management system originally developed for the NetBSD operating system, but currently available for multiple UNIX-like operating systems. It is one of the methods available to you for installing open-source / freeware software packages on your Accelerator.

pkgsrc is the official packaging system for Accelerators. All Accelerators deployed as of March 22 are built using pkgsrc, not Blastwave. Previous Accelerators were built using Blastwave.

You do not need to bootstrap pkgsrc on the pkgsrc accelerators - you will save yourself a lot of time by just running ‘bmake <option>’ in the /opt/pkgsrc/category/port directories.

Updating select packages only

The binary package repository for Joyent provided packages is at:

http://pkgsrc.joyent.com/RELEASE/All

You need to replace RELEASE with the pkgsrc release that your Accelerator is built with. This is ‘2007Q4’ for Accelerators deploying from March 22 up today, shortly to be replaced with ‘2008Q1’.

If you see a more recent version that you’ve got, you use ‘pkg_add -u PACKAGENAME’ to update it. This assumes that you:

  • have root privileges effectively (have used su or sudo)
  • have the PKG_PATH environment variable pointed to the above repository correctly (check using echo $PKG_PATH)

Updating an entire Accelerator

See Updating pkgsrc on how to update your Accelerator to the latest pkgsrc release.

Adding your own packages

(to be added)

Installing your own pkgsrc

See Installing pkgsrc on how to roll your own pkgsrc setup from scratch.

Reference

 
accelerators/kb/pkgsrc.txt · Last modified: 2008/09/05 10:24 by jacques
 
Recent changes RSS feed Creative Commons License Driven by DokuWiki