Showing posts with label Netbeans. Show all posts
Showing posts with label Netbeans. Show all posts

Thursday, August 7, 2008

Installing Sun Studio 12 on Ubuntu 8.04.1

This is really just a quick HOWTO on installing Sun Studio 12 on Ubuntu 8.04.1 or Xubuntu for that matter.

Here is a quick Overview of the Sun Studio tool chain and IDE.
===============================================

"Sun[tm] Studio 12 software, available for free on Solaris and Linux
platforms, includes the following:

Parallelizing C, C++, and Fortran compilers
Code-level debugger
Memory debugger
Performance profiling
OpenMP support
IDE
Optimized libraries
Thread analysis"

===============================================
Anyway;

Download yourself the tarfile version of the installer from (Hint:Click "Free Download"):
http://developers.sun.com/sunstudio/downloads/index.jsp

Then update your box so its current and run this;
$ sudo apt-get install netbeans gawk scons

Make sure you in the current dir of the downloaded tar file (Hint:Make a new dir and stick the tar inside as we are going to expand it);

$ bunzip2 -cd SunStudio12ml-linux-x86-200709-ii.tar.bz2 | tar -xvf -

$ mv SunStudio12ml-linux-x86-200709-ii.tar.bz2 ../
$ sudo mv sunstudio12 /opt/
$ sudo mv lib /opt/
$ sudo mv netbeans-5.5.1 /opt/

And that should be all !

To run;

$ /opt/sunstudio12/bin/sunstudio &

If you like, you can,

* Add the following to your PATH environment variable:
/opt/sunstudio12/bin

* Add the following to your MANPATH environment variable:
/opt/sunstudio12/man


If anyone has a better way please *do* comment.
Thanks,
Edward.