You can install different versions of Sun Studio on the same system as long as the base installation directories are different. For example, the default base directory is /opt. If you installed Sun Studio 8 in /opt, you must install other versions in different locations. You could create /SS10 for Studio 10, for example, or any location other than /opt.
The installations wil not interfere with each other, but you should take care to have no more than one installation at a time in your path or MANPATH.
Thanks for the information.
Let me just clarifiy. Are you saying that I [b]must[/b] have a structure such as:
/Studio8/...and
/Studio10/...
and not
/opt/software/Studio8/... and
/opt/software/Studio10/...
with the directories being different at the root level?
When you install any version of Sun Studio, you specify a base installation directory. By default, the base is /opt. The rule is that the base directories for each installation must be different.
If you specified /opt/software/Studio8 as the base directory for Studio 8, you can use /opt/software/Studio10 (or anything outside of /opt/software/Studio8) as the base of Studio 10.
BTW, the current release is Studio 11, and it's free for all uses. If you don't have a specific reason for needing to use Studio 10, I recommend you use Studio 11 instead. You can get it here:
http://developers.sun.com/sunstudio/
> Thanks for the information.
>
> Let me just clarifiy. Are you saying that I
> [b]must[/b] have a structure such as:
>
> /Studio8/...and
> /Studio10/...
>
> and not
>
>/opt/software/Studio8/... and
> /opt/software/Studio10/...
This is fine since the base directory for Studio8 is /opt/software/Studio8.
>
> with the directories being different at the root
> level?
> Just to be perfectly clear, ANY directory is fine, as
> long as it's not the
> same directory used by the installation of Sun Studio
> 8. ;-)
I'm afraid that formulation is ambiguous, so I can't answer yes or no.
The only requirement on location is that the base directories be different.
(The base directory is the one containing the SUNWspro directory.) Subject to that constraint, the base directory can appear anywhere on any writeable file system that has enough capacity.