Sun WorkShop Quick Install

PATH and MANPATH Variables

This section describes how to change your PATH and MANPATH variables to access the current release. See the section that describes the shell you use.


Note -

In the paths listed in this section, the default install-directory is /opt. If you indicated another installation directory when you installed your software tools, replace install-directory with the path to your installation directory. Do not type the backslash (\) in any of the paths in this section; the backslash indicates that the path must be typed as one line.


Using the C Shell

If you use the C shell, follow these steps:

  1. Open your ~/.cshrc file in your preferred editor, and add the following lines at the end of the file:

    set path=(install-directory/SUNWspro/bin $path)

    setenv MANPATH install-directory/SUNWspro/man:install-directory/\

    SUNWste/license_tools/man:$MANPATH

  2. Save your .cshrc file.

  3. Reread your shell's initialization files by executing the following command:

    % source ~/.cshrc


    Note -

    The PATH and MANPATH variables need to be set in each user's environment for each user to get the current product.


  4. Proceed to Chapter 4, Installing Your Licenses.

Using the Bourne Shell

If you use the Bourne shell, follow these steps:

  1. Open your ~/.profile file in your preferred editor, and add the following lines at the end of the file:

    PATH=install-directory/SUNWspro/bin:$PATH

    MANPATH=install-directory/SUNWspro/man:install-directory/\

    SUNWste/license_tools/man:$MANPATH

    export MANPATH PATH

  2. Save your .profile file

  3. Reread your shell's initialization files by executing the following command:

    $ . ~/.profile


    Note -

    The PATH and MANPATH variables need to be set in each user's environment for each user to get the current product.


  4. Proceed to Chapter 4, Installing Your Licenses.

Using the Korn Shell

If you are using the Korn shell, follow these steps:

  1. Open your ~/.profile file in your preferred editor, and add the following lines at the end of the file:

    export PATH=install-directory/SUNWspro/bin:$PATH

    export MANPATH=install-directory/SUNWspro/man:install-directory/\

    SUNWste/license_tools/man:$MANPATH

  2. Save your .profile file.

  3. Reread your shell's initialization files by executing the following command:

    $ . ~/.profile


    Note -

    The PATH and MANPATH variables need to be set in each user's environment for each user to get the current product.


  4. Proceed to Chapter 4, Installing Your Licenses.