Solaris 11 Where is /usr/ucblib? Quick tips to install 'ucb' package'

Well… I finally figured out that the ucb package isn’t installed on Solaris 11 by default (resource). Unfortunately, the Oracle docs are confusing to follow. Here is a cheatsheet for installing the ucb package on your shiny Solaris 11 install.

  1. Figure out the IPS installer, read man pages, get frustrated at lack of detail, run to Google.
  2. Find the package you want on http://pkg.oracle.com/, in this case compatibility/ucb
  3. Add the publisher link to your config, by the way, this link is not documented that I can find so I had to guess and check. A publisher is a package list of sorts, I guess.
    # pkg set-publisher -G '*' -M '*' -g http://pkg.oracle.com/solaris/release solaris
  4. Install the package, # pkg install compatibility/ucb

# pkg install compatibility/ucb
Packages to install: 1
Create boot environment: No
Create backup boot environment: No

DOWNLOAD PKGS FILES XFER (MB)
Completed 11 8080 0.40.4

PHASE ACTIONS
Install Phase 166166

PHASE ITEMS
Package State Update Phase 11
Image State Update Phase 22

  1. Behold, that you now have the compatibility libs for software that may need to use them

Whew…now, you might wonder what is so hard about that. Well, traversing Oracle docs is the hard part.

Here are the docs that I had open in my browser, they may or may not help and I fully expect the links to break in the future because Oracle is good at that.


Jeremy Olexa

Random stuff that I write and make public to the interwebs. I am a tech enthusiast, so some posts are about tech/software. However, as of late, most will be about traveling. I hope you enjoy and find something useful.