Setting Up Your Development Environment on OpenSolaris
Adding IPS Repositories
The default release repository contains packages that are well tested and is the best place to get packages that you know work with the OpenSolaris OS. You might want to try other IPS repositories to get early access packages or packages that did not necessarily go through the same rigorous release process as the packages in the release repository.
To add an IPS repository to the Package Manager:
- Select Add from the Repository drop-down menu or select the File > Manage Repositories menu option.
- Enter a Name that will display in the Repository drop-down menu.
- Enter the URL of the repository as shown below.
- Select the Add button.

To add an IPS repository using the IPS command line interface and select that repository as the preferred repository, see How to Add or Update a Publisher.
Additional IPS Repositories
The following IPS repositories are available and can be added to your Repository list in the Package Manager utility.
Release, Development, Web Stack, and Contrib Repositories
release: http://pkg.opensolaris.org/release/
This repository contains production-quality release packages. Packages in this repository are well tested. Using this repository is the best way to install packages that you know work with the OpenSolaris OS. This repository receives milestone updates every six months with a new release of the OpenSolaris OS. Significant bug fixes, security updates, and new software might be provided prior to these milestone updates. This is the default repository for the Package Manager and for the pkg commands.
development: http://pkg.opensolaris.org/dev/
This repository is a staging repository for the next release of the OpenSolaris OS. The dev repository is updated on a bi-weekly basis. This repository contains the latest and greatest software available for the OpenSolaris OS but might not have the same level of quality as the release repository. Before you use this repository, you might want to check the release notes. Bug reports and requests for enhancement are welcome through http://defect.opensolaris.org/.
web stack: http://pkg.opensolaris.org/webstack/
This repository contains additional Web Stack tools you can install, such as Drupal or PHPMyAdmin. The applications that are available in the webstack repository are preconfigured to work with other components in the Web Stack. The packages in the webstack repository are prerelease software. Packages in the webstack repository might not have the same level of quality as packages in the release repository.
contrib: http://pkg.opensolaris.org/contrib/
This repository contains packages contributed from the community that have not been included in the release repository. The contrib repository might act as a staging repository for inclusion of software into the release repository at a later stage based on a review of quality and usefulness. By using the contrib repository, you agree to assume all risks, including, but not limited to, errors, viruses, worms, time-limited software that expires without notice, defamatory or offensive content, and the possibility that the materials infringe or misappropriate the intellectual property rights of others.
Extra and Support Repositories
The following IPS repositories require registration on sun.com and can be added automatically to your repositories list.
extra
The extra repository provides software that cannot be re-distributed due to licensing. For example, VirtualBox and the Flash plugin for Firefox are available from the extra repository. You can access this repository free of charge after you install a certificate that gives you authorization. To access the extra repository, follow these steps:
- On the system where you are running the OpenSolaris OS and want to add the extra repository, go to https://pkg.sun.com/register/. Log in with your Sun Online Account. This is the same account that you use to sign in to the Sun Developer Network and other Sun sites. If you do not have a Sun Online Account, register here.
- Select the button to the left of "OpenSolaris extras."
- Select the Submit button near the bottom of the page.
- Read and Accept the license agreement. Clicking Accept takes you to a page of instructions for installing a certificate.
- Follow the instructions to install the certificate on your system.
- When you have completed this procedure, sign out.
- The next time you start Package Manager, your Repository list shows the extra repository. You can select the extra repository from the list and peruse the additional packages that are available for you to install.
support
The support repository provides the latest bug fixes and updates. To access this repository, you must have a current support subscription from Sun. See OpenSolaris Support. You will need your support contract ID to complete the process to access the support repository:
- On the system where you are running the OpenSolaris OS and want to add the support repository, go to https://pkg.sun.com/register/. Log in with your Sun Online Account. This is the same account that you use to sign in to the Sun Developer Network and other Sun sites. If you do not have a Sun Online Account, register here.
- Select the button to the left of "OpenSolaris 2009.06 standard support."
- Select the Submit button near the bottom of the page.
- Follow the instructions that are displayed. You will need your support contract ID.

