Toolserver:Solaris software

This page describes software available on the Solaris servers. For some pieces of software, there are two versions: Sun and Toolserver. We generally recommend using the Toolserver version. Most of the Toolserver versions follow the naming scheme /opt/ts/ / /bin/ . This means you can rely on a particular version being that version forever; if later versions are installed, you can update your software as needed. For software that has third-party modules (e.g. Perl and Python), modules will generally only be installed for the Toolserver versions.

The default $PATH includes the latest version of each piece of software, so there's no need to use the full path in most cases. For scripting languages, there are symlinks at /usr/bin/ , e.g. /usr/bin/python2.7.

Python
There is no Sun Python.

The default version (/usr/bin/python) is 2.6. 2.7 and 3.1 are also available:
 * /usr/bin/python2.7 (&rarr; /opt/ts/python/2.7/)
 * /usr/bin/python3.1 (&rarr; /opt/ts/python/3.1/</tt>)

Note that Python 3.1 has fewer modules available, since most Python 2.x modules have not been ported to 3.x yet. For MySQL access, use the oursql</tt> module instead of MySQLdb</tt> (this is also available for 2.x).

Perl
Sun Perl is installed in /usr/perl5/5.8.4/bin</tt>. Don't use this version.

The default Toolserver Perl version is 5.12 (/usr/bin/perl</tt>, /opt/ts/perl/5.12/</tt>). Currently, this is the only Toolserver version installed.

Ruby
There is no Sun Ruby.

The default Toolserver Ruby version is 1.8 (/usr/bin/ruby</tt>, /opt/ts/ruby/1.8/bin</tt>). Ruby 1.9 is also available as /usr/bin/ruby1.9</tt> (&rarr; /opt/ts/ruby/1.9/</tt>).

PHP
There is no Sun PHP.

The default Toolserver PHP version is 5.3 (/usr/bin/php</tt>, /opt/ts/php/5.3/</tt>). Currently, this is the only Toolserver version installed.

MySQL
There is no Sun MySQL.

The default Toolserver MySQL version is 5.1 (/opt/ts/mysql/5.1/</tt>). Currently, this is the only Toolserver version installed.

CC

 * Sun Studio 12.1 : /opt/sunstudio12.1/bin/cc</tt>. This is linked from  /usr/bin/cc</tt>.
 * GCC 3.4.3 : /usr/sfw/bin/gcc</tt>
 * GCC 4.4 : <tt>/opt/ts/gcc/4.4/bin/gcc</tt>

Userland
There are two userlands available on the Toolserver: "Solaris" and "GNU". The default userland is GNU, which means system utilities (such as <tt>ls</tt>) will be the GNU version. This is likely to be better for Linux users unfamiliar with Solaris. If you want to change to the Sun userland, you should set your <tt>$PATH</tt> as below:


 * Sun userland : <tt>/opt/ts/bin:/usr/bin:$PATH</tt>
 * GNU userland : <tt>/opt/ts/gnu/bin:/opt/ts/bin:$PATH</tt>

(Where <tt>$PATH</tt> refers to the default path.)

The <tt>/opt/ts/bin</tt> directory contains locally-installed software.