Log on as root.
Place the CD-ROM into the CD-ROM drive.
Mount the CD-ROM. Usually, it gets mounted to /mnt/cdrom. If so, enter the following command:
At a command prompt, change to the CD-ROM directory. If the CD-ROM was mounted to /mnt/cdrom/, use the following command:
Start the setup script by entering the following command:
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.
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
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.
|If you're using this shell...||...use this command.|
|sh, ksh, bash||. ./SYBSsa7/bin/asa_config.sh|
|csh, tcsh||source ./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.
|Most Adaptive Server Anywhere command line utilities (names beginning with db)||/InstallDir/SYBSsa7/bin|
|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.