There are a few issues with the OmniOS package repositories as mentioned by gea of napp-it:
- Applications are spread over several repositories
- Applications are sometimes outdated without regular updates
- The repositories contain only a few applications
- The repositories are OS dependent
In contrast, the Joyent/SmartOS package repositories contain a lot of useful packages in one place, and are frequently updated.
To use Joyent/SmartOS packages in OmniOS (here in a zone) start by installing gnu-tar (gtar
):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
Next, install the Joyent/SmartOS bootstrap loader (modify 2014Q2-x86_64
to match current repository and architecture):
1 2 3 4 5 |
|
Since Joyent/SmartOS packages are installed in /opt/local
update your path (this can be done permanently by modifying the PATH
in ~./profile
):
1
|
|
Update the repository database:
1 2 3 4 5 6 7 |
|
You are ready to search or install packages:
1 2 |
|
All packages can be viewed at the repository.