Installing Java, PHP, Perl, Python, Ruby, Tcl

Setting Up Your Development Environment on OpenSolaris

Java, PHP, Perl, Python, Ruby/Rails/Gems, Tcl/Tk

The OpenSolaris OS comes with some support for Java, Perl, Python, and Tcl/Tk. You can easily download and install many more packages.

To see what additional tools are available, select the Development category and select All Packages in the Show field. Below the Development category heading, select the Java, Other Languages, PHP, Perl, Python, or Ruby subcategory.

Java

The OpenSolaris OS comes with the Java runtime integration plugin (SUNWjre-config-plugin), JSS - Network Security Services for Java (SUNWjss), and the JDK Runtime Environment (SUNWj<version>rt).

You might want to install the JDK Dev Tools (SUNWj6dev), the Java Development cluster (java-dev), or other packages.

To download and install a package by using the OpenSolaris Package Manager:

  1. Select System > Administration > Package Manager from the desktop menu bar on your OpenSolaris system.
  2. To find all the Java or JDK packages, do one of the following steps:
    • Select a Repository to search, select Development from the category menu, select the Java sub-category, and select All Packages from the Show menu.
    • Select a Repository to search, type java or jdk in the Search field, and press the Enter key.
    • Select All Repositories from the Search menu, type java or jdk in the Search field, and press the Enter key.
  3. A check mark in the Status column of the package list means that package is already installed on your system. If the package is not already installed, or if you want to update that package, select the checkbox to the left of the package name and then select the Install/Update button or the Package > Install/Update menu option at the top of the Package Manager window.

To use the IPS command line interface to install the JDK Dev Tools, enter the following command.

$ pfexec pkg install SUNWj<version>dev

For information about Java, see the following resources.

PHP

Web Stack and NetBeans come with PHP support. You can also install PHP packages separately. See the PHP subcategory of the Development category in Package Manager or type "php" in the Search field.

For information about PHP, see the following resources.

Perl

The OpenSolaris OS comes with a Perl core package (SUNWperl<version>core). Also available for you to download are a Perl XML parser and the DBI PostgreSQL interface.

For information about Perl see perl.com and perl.org.

Python

The OpenSolaris OS comes with the Python interpreter, libraries, and utilities. See the Python subcategory of the Development category in Package Manager for other Python packages you might want to install.

For information about Python, see the following resources.

Ruby/Rails/Gems

NetBeans comes with Ruby support. You can also install Ruby, RubyGems, and Grails framework packages separately. See the Ruby subcategory of the Development category in Package Manager or type "ruby" or "rails" in the Search field.

ruby-dev Ruby Development cluster
SUNWjruby JRuby
SUNWruby<version> Ruby & RubyGems cluster
SUNWgrails Grails framework

For information about Ruby, Gems, and Rails, see the following resources.

Tcl/Tk

The OpenSolaris OS comes with the TCL Tool Command Language(SUNWTcl) and the TK TCL GUI Toolkit (SUNWTk).

For information about Tcl, see the Tcl Developer Xchange.

Labels

appdeveloper appdeveloper Delete
task task Delete
adding adding Delete
installing installing Delete
java java Delete
php php Delete
perl perl Delete
python python Delete
ruby ruby Delete
tcl tcl Delete
singleadmin singleadmin Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact