This discussion is archived
1 Reply Latest reply: Dec 16, 2011 8:29 AM by Steve_Clamage RSS

Is it required/advisable to remove previous versions of Sun Studio prior

user10278864 Newbie
Currently Being Moderated
Greetings:

This is probably a stupid question, but here goes...

I need to install Solaris Studio 12 on a few SPARC boxes that already have Sun Studio 11 installed. Is it best practice or required to remove any and all previous versions of Sun Studio before installing Solaris Studio 12? Oh, and, if so, how's the best way to do so?

Thanks!
  • 1. Re: Is it required/advisable to remove previous versions of Sun Studio prior
    Steve_Clamage Pro
    Currently Being Moderated
    It is not necessary to remove old releases. Studio allows having any number of different releases installed on the same computer. If you think you might want access to the old release for comparison purposes, you can leave it in place until you don't need it any more.

    However:
    - If you add a release, it must be installed in a different location. If you remove the old release, you can use the old location for the new release.
    - If you have scripts or startup files or your execution path pointing to the old release, you might accidentally use it instead of the new release. Removing the old release ensures you get an error instead.

    The best way to uninstall the old release depends on how you installed it. If you used the package installer, you should use the uninstall script, so that the package database remains consistent. If you installed from a tar file, you can just remove the entire installation tree.
    rm -fr /path/to/installation

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points