Installing using Red Hat Package Manager (RPM)

On the Linux platform, you install Adaptive Server with the Red Hat Package Manager (RPM), which is included in the standard bundle by all Linux distributors.

To Install Adaptive Server products using RPM:

  1. Verify that you are logged in as the “root” superuser and that your environment is set up as described in “Pre-installation tasks”.

  2. Verify that you have a directory called /opt on your server, and that it has sufficient space to accommodate unloading the software. If an /opt directory does not already exist, the Linux RPM will create it in the root directory.

  3. Place the Adaptive Server product CD in the CD-ROM drive.

  4. If you need to mount the CD, enter:

    # mount -t iso9660 /dev/cdrom /mnt/cdrom
    

To install Adaptive Server products using Red Hat Package Manager (RPM), you can either:

For help on RPM, enter:

# /bin/rpm

StepsInstall packages using the graphical interface

  1. From the Linux task bar, select the Gnome or KDE icon that launches the Linux applications menu.

  2. Select System | GnoRPM (or the KDE RPM).

    This launches the RPM manager and displays a hierarchical view of the system applications.

  3. Select Install.

    This launches a new dialog box.

  4. Select Add.

    This displays a list of all RPM packages that have not yet been installed.

    The RPMS packages come from the CDROM or from the location to which you download the packages. For CDROMs, the location is usually /mnt/cdrom/RPMS.

    If you have the X11 environment enabled when you install the CDROM, then a pop-up window displays, showing the contents of the CDROM.

    To bring the desired packages to the GUI package installers like GNOME, gnorpm or KDE package, drag and drop the packages into the installer frontends.

  5. Highlight each package and click Add after each selection. The new packages are placed in the appropriate directory under Packages | Applications | Databases | Sybase.

    NoteAll products depend on the sybase-common-12.5-nn.i386.rpm package. Either install the “sybase-common” package before you install any other package, or install all packages at once.

  6. As each package is added to the RPM interface, a check box appears to its right. To install all RPM package simultaneously, select All but Installed from the drop-down list.

  7. Click Install.

    RPM creates the /opt/sybase-12.5 target directory and installs all packages.

  8. Once the installation is complete, select Close.

  9. Unmount the CD from the drive at your # prompt by entering:

    # umount /dev/cdrom
    

    Remove the CD by entering:

    # eject
    
  10. RPM sets correct product permissions and ownership.

Steps Install packages from the command line

If you have any beta packages installed, follow steps one and two. If you do not have the beta packages installed, skip to step three.

Start command-line installation with the sybase-common-12.5-nn.i368.rpm and sybase-ase-12.5-nn.i386.rpm packages as they are a prerequisite to all other packages.

  1. Check to see if you have any beta packages in the installation directory. Enter:

    # rpm -qa | grep sybase
    
  2. Remove the beta packages:

    # rpm -e sybase-common-12.5-n \
    
    sybase-ase-12.5-n \
    
    sybase-monserver-12.5-n \
    
    sybase-openclient-12.5-n \
    
    sybase-sunjdk-1.1.8-n \
    
    sybase-doc-12.5-n \
    
    sybase-french-12.5-n \
    
    sybase-german-12.5-n
    

    where n is the beta version numbers 1 or 2.

  3. Mount the CDROM:

    #mount /mnt/cdrom
    
  4. Go to the mounted CDROM:

    # cd /mnt/cdrom
    
  5. To view the CDROM contents, (Cover letter, .PDF, and README) enter:

    ls -l
    
  6. From the /RPMS directory, install the packages:

    # rpm -Uhv sybase-common-12.5-nn.1DE-1.i386.rpm \
    
    sybase-ase-12.5-nn.i386.rpm \
    
    sybase-efts-12.5-nn.i386.rpm \
    
    sybase-esql-12.5-nn.i386.rpm \
    
    sybase-openclient-12.5.nn.i386.rpm \
    
    sybase-openserver-12.5.nn.i386.rpm
    
    sybase-sqlremote-7.0.2.nn.i386.rpm \
    
    sybase-doc-12.5-nn.i386.rpm
    
    sybase-french-12.5.nn.i386.rpm \
    
    sybase-german-12.5.nn.i386.rpm
    
    sybase-chinese-12.5.nn-i386.rpm
    
    sybase-japanese-12.5.nn.i386.rpm
    
    sybase-korean-12.5.nn.i386.rpm
    
    sybase-polish-12.5.nn.i386.rpm
    
    sybase-portuguese-12.5.nn.i386.rpm
    
    sybase-spanish-12.5.nn.i386.rpm
    
    sybase-thai-12.5.nn.i386.rpm
    

    where nn is the minor version number of the rpm package you are installing.

    WARNING! Do not use the upgrade (-U) option of RPM. This will adversely affect any existing installations of 11.9.2 and 11.0.3.3.

    The packages can be relocated during installation using the rpm(1) --relocate option. Refer to the rpm(1) manual pages for correct command line instructions.

  7. Unmount the CD from the drive at your # prompt by entering:

    # umount /dev/cdrom
    

    Remove the CD by entering:

    # eject
    
  8. RPM sets correct product permissions and ownership.

RPM sets the correct product permissions and ownership necessary to complete the installation and configuration.