Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Package management is done with super-user privileges (when running as a normal user with rights to elevate, prepend sudo or pfexec to the commands below).Set

Syntax for adding a




Code Block
titleSyntax for adding a repository
# pkg set-publisher -O g repository_url repository_name

Syntax for replacing a repository

Code Block
titleReplacing a repository
# pkg set-publisher -G old_repository_url -g new_repository_url repository_name

Example of replacing a repository

Code Block
titleExample of replacing a repository
# pkg set-publisher \
-G hipster-2015 \

Search for a package (in remote repositories):

Code Block

Listing repositories

Code Block
titleListing repositories
# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION             origin   online F
hipster-encumbered          origin   online F


Currently supported repositories for OpenIndiana Hipster

openindiana.org primary package repository
hipster-encumbered encumbered license packages
localhostoih party Spec Files Extra (SFE) packages

Searching for IPS packages

Code Block
# pkg search -prp git


Installing an IPS package


Code Block
:;# pkg install git

The above is the "native" OpenIndiana package management, but some packages may be missing or outdated.

Upgrading a package

Code Block
titleUpgrading a package
# pkg update git

Upgrading all the packages on the system

Code Block
titleUpgrading the system
# pkg update

Option 2: Install software from SmartOS repositories via pkgin

All illumos-based operating systems, like OmniOS, OpenIndiana and SmartOS can use the repository from Joyent/SmartOS. Its main advantage is that you find there a lot of very up to date packages.