How To Confirm Solaris 11 version

Oracle Solaris 11 Oracle Solaris 11

I’ve finally gotten the time to work on another Unix Tutorial project – Install Solaris 11 in a VirtualBox VM. Will publish step-by-step instructions next weekend, so for now it’s just a quick post about a topic long overdue: confirming Solaris 11 version.

Use pkg Command to Confirm Solaris 11 Version

One of the most recent but also the most recommended ways to confirm Solaris 11 release version is to use the. Specifically, we use it to inspect the “entire” package which is a virtual package made for indicating and enforcing a Solaris 11 release:

greys@solaris11:~$ pkg info entire
Name: entire
Summary: Incorporation to lock all system packages to the same build
Description: This package constrains system package versions to the same
build. WARNING: Proper system update and correct package
selection depend on the presence of this incorporation.
Removing this package will result in an unsupported system.
Category: Meta Packages/Incorporations
State: Installed
Publisher: solaris
Version: 11.4 (Oracle Solaris 11.4.0.0.1.15.0)
Branch: 11.4.0.0.1.15.0
Packaging Date: 17 August 2018 at 00:42:03
Size: 2.53 kB
FMRI: pkg://solaris/entire@11.4-11.4.0.0.1.15.0:20180817T004203Z

As you can see from the output, my brand new Solaris 11 VM is sporting the Solaris 11.4 release.

Use /etc/release to Confirm Solaris 11 Version

This is the more traditional way, the one that’s worked from at least Solaris 8. Simply inspect the /etc/release file and it should indicate both the Solaris release and the platform it’s running on – in my case it’s Solaris 11.4 and x86:

greys@solaris11:~$ cat /etc/release
Oracle Solaris 11.4 X86
Copyright (c) 1983, 2018, Oracle and/or its affiliates. All rights reserved.
Assembled 16 August 2018

Use uname command to Confirm Solaris 11 Version

Another fairly traditional approach is to use the uname command. As you can see below, it will show you the OS release (5.11) and the release version (11.4.0.15.0):

greys@solaris11:~$ uname -a
SunOS solaris11 5.11 11.4.0.15.0 i86pc i386 i86pc

See Also




Keep Learning with Me

Follow me on Facebook and Twitter or jump into Telegram chat!:
I'm using Brave browser
Give it a try, it's awesome: Brave Browser
IT Consultancy
I'm a principal consultant with Tech Stack Solutions. I help with cloud architectrure, AWS deployments and automated management of Unix/Linux infrastructure. Get in touch!
Recent Articles
28 May 2020

Raspberry Pi 4 8GB

19 May 2020

Grafana 7.0 Released

13 May 2020

OpenIndiana 2020.04 Released

Recent Tweets