[rescue] Solaris Studio

Jerry Kemp sun.mail.list47 at oryx.us
Sun Jul 16 01:13:38 CDT 2017

My observation, most of those places, OpenCSW, SunFreeware, etc, either has 
faded away, or, like in the case with SunFreeware, went full pay/commercial a 
long time ago.

There are mirrors of Sunfreeware out there, and I have archived one of those 
mirrors myself.  Its always curious how many times I will run across a client, 
with an old Sol 10 box that was dependent on the Sunfreeware stuff.

Anyway, as you have probably have already surmised, the "pkg" command is the 
command that lets you interact either with Oracle's package repository, or 
another, or a local one that you have set up in-house.

# pkg publisher

will show you where your repositor(ies) are pointed too.

# pkg search <pkg or file name>

will allow you to search for packages important to you.

Oracle already has a ton of Open Source stuff out there.

Based on what I have gotten from your notes, personally, I would probably start 
out with something like:

# pkg install autoconf
# pkg install automake
# pkg install gnu-make
# pkg search -r gcc

that should be enough to get you to where you can build standard open source 
stuff.  If I left out any details here, the OS will let you know.

Not sure what your preferences are, but for most small things, bison, flex, etc, 
I'm generally happy with what Oracle provides.

For larger apps, i.e. Apache httpd, BIND, MySQL, Sendmail or Postfix, PHP, etc, 
no vendor will ever compile their offering with all the command line (options) 
parameters that I want/need, and I always compile those on my own.

Not that Solaris wasn't alway a pretty easy Unix anyway, but once you figure out 
the pkg system, its even easier still.

Also note, some commands, like "ifconfig", are still around but depreciated, 
being replaced by dladm and ipadm.

Check out the Solaris 11.3 cheat sheet here:



Good luck with your new system!!

On 07/15/17 10:00 PM, Phil Stracchino wrote:
> On 07/15/17 00:44, Jerry Kemp wrote:
>> Understood.
>> I'm sure I don't completely grasp the OpenCSW direction, but, FWIW, all that
>> stuff is directly available from Oracle, same place you downloaded the OS +
>> repository, with or without a support contract in place.
> Yeah, I'm running into a variety of issues with OpenCSW as well.  It's
> better than some of the other things that have replaced Sunfreeware, but
> it definitely has its own quirks, not least that I've yet to get its gcc
> to compile *anything*.
>> solaris11vm /root 51 # cat /etc/release
>>                               Oracle Solaris 11.3 X86
>>    Copyright (c) 1983, 2015, Oracle and/or its affiliates.  All rights reserved.
>>                              Assembled 06 October 2015
>> solaris11vm /root 52 # pkg search -r pkg:/developer/gcc-4/gcc-c-49
> I have much to learn yet about the new features in Solaris 11.3.

More information about the rescue mailing list