CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" >

3. Installation

3.1. Process

  1. Log on as root.

  2. Place the CD-ROM into the CD-ROM drive.

  3. Mount the CD-ROM. Usually, it gets mounted to /mnt/cdrom. If so, enter the following command:

    mount /mnt/cdrom

  4. At a command prompt, change to the CD-ROM directory. If the CD-ROM was mounted to /mnt/cdrom/, use the following command:

    cd /mnt/cdrom

  5. Start the setup script by entering the following command:

    ./setup

  6. The setup script prompts you with information about installing SQL Anywhere Studio for UNIX. Enter any information you are prompted for, and press the Enter key to continue.

By default, SQL Anywhere Studio is installed into a directory named SYBSsa7 under /opt/sybase on Solaris, Linux, and HP-UX, and under /usr/lpp/sybase on AIX. You can specify another installation directory if you wish.

3.2. Distribution-specific considerations (for TurboLinux and Caldera)

After installation, you should follow these instructions if you are running either TurboLinux 6.0 or Caldera 2.2.

For TurboLinux 6.0 only, change to directory /usr/lib and create a symbolic link using the following command.

ln -s libstdc++-libc6.1-2.so.3 libstdc++-libc6.1-1.so.2

For Caldera 2.2 only, change to directory /usr/lib and create a symbolic link using the following command.

ln -s /usr/lib/libstdc++-2.9.0 /usr/lib/libstdc++-libc6.1-1.so.2

3.3. Setting the Environment Variables

Each user who uses the software must set the necessary environment variables for Adaptive Server Anywhere. To help you do that, the installation program puts two script files, asa_config.sh and asa_config.csh, in the directory /InstallDir/SYBSsa7/bin. InstallDir is the directory where you chose to install Adaptive Server Anywhere.

Depending on which shell you're using, enter the appropriate command from InstallDir.

Table 5.

If you're using this shell......use this command.
sh, ksh, bash. ./SYBSsa7/bin/asa_config.sh
csh, tcshsource ./SYBSsa7/bin/asa_config.csh

You may also want to insert the above commands into your copy of .profile or .bash_profile to have the environment variables ready every time you log in.

3.4. Where did it get installed?

Table 6.

Most Adaptive Server Anywhere command line utilities (names beginning with db)/InstallDir/SYBSsa7/bin
Sybase Central/InstallDir/shared/sybcentral40/java
Sample database/InstallDir/SYBSsa7
Online documentation/CDROM/help/contents.htm or/InstallDir/SYBSsa7/doc/contents.htm

CDROM is the directory where your CD-ROM is mounted, which is usually /mnt/cdrom/.

InstallDir is the directory where you chose to install Adaptive Server Anywhere.

The first two directories are put into the path by asa_config.sh or asa_config.csh, so if you've already executed one of them as mentioned in the previous section, you won't have to change directories to get to most of the executables associated with Adaptive Server Anywhere.