Saturday, November 14, 2009

Configuring package repository /extras for Open Solaris

Fire up your browser and point it to http://pkg.sun.com
Login if you have a Sun Online public account, if you don't have any, create one.
Once you have logged in follow the instructions stated at the same page as you would download the two certificates required to add the /extra repository.

If you're using root, just perform the following instead
# mkdir /var/pkg/ssl
# mv OpenSolaris_extras.key.pem /var/pkg/ssl
# mv OpenSolaris_extras.certificate.pem /var/pkg/ssl
# pkg set-authority -k /var/pkg/ssl/OpenSolaris_extras.key.pem \
  -c /var/pkg/ssl/OpenSolaris_extras.certificate.pem \
  -O https://pkg.sun.com/opensolaris/extra/ extra

Run the following to list the packages available on the extra repository
# pkg list -a 'pkg://extra/*'

Or just fire up the package manager on your taskbar, and choose Extra at the top right corner.

No comments: