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.
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.