WebSphere Enterprise Service Bus, Version 6.2.0 Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows


Installing and verifying Linux packages

Learn how to install and verify prerequisite libraries (packages) that WebSphere® ESB products require on Linux® systems.

Before you begin

Install the Linux operating system and complete the steps in Preparing Linux systems for installation before using this procedure.

About this task

Assume that your Linux operating system requires the compat-libstdc++-33-3.2.3-47.3 package and that there are two versions of the package. One version is for 32-bit platforms and the other is for 64-bit platforms. This procedure shows how to query the operating system to see if the packages are installed, find the missing packages on the operating system disk, and install the packages.

This example uses Red Hat Enterprise Linux (RHEL) on a PowerPC® 64-bit hardware platform. The example assumes that RHEL requires both the 32-bit version and the 64-bit version of the compat-libstdc++-33-3.2.3-47.3 package.

Procedure
  1. Query the operating system to determine if the packages are already installed by issuing the following command:
    rpm -qa | grep compat-libstdc++-33-3.2.3-

    In this example, the operating system did not find any matching packages so a blank line is displayed.

    You can also search without the grep argument to see an explicit message about the file by issuing the following command:

    rpm -q compat-libstdc++-33-3.2.3-

    The operating system returns the following message:

    package compat-libstdc++-33-3.2.3- is not installed 
  2. Find all related packages on the operating system media to get the fully qualified locations.

    This example assumes that the operating system media is a CD mounted at /media/cdrom. Your CD-ROM device might be at a different location, such as /media/cdrecorder, for example.

    find /media/cdrom -name compat-libstdc++-33-3.2.3-* 

    In this example, the operating system finds two matching package names. One package is the 32-bit version and the other is the 64-bit version.

    /media/cdrom/RedHat/RPMS/compat-libstdc++-33-3.2.3-47.3.ppc.rpm 
    /media/cdrom/RedHat/RPMS/compat-libstdc++-33-3.2.3-47.3.ppc64.rpm
  3. Install the first missing package by issuing the following command:
    rpm -ivh /media/cdrom/RedHat/RPMS/compat-libstdc++-33-3.2.3-47.3.ppc.rpm
  4. Install the second missing package by issuing the following command:
    rpm -ivh /media/cdrom/RedHat/RPMS/compat-libstdc++-33-3.2.3-47.3.ppc64.rpm
  5. Optional: Alternative method to find and install packages in one command: Use the following command to find packages and to install all packages that are found.

    Find the packages as described in the earlier step to verify that the following command installs only the packages that you intend to install.

    find /media/cdrom -name compat-libstdc++-33-3.2.3-* | xargs rpm -ivh

    This single command installs both packages.

  6. Optional: Alternative command to update existing packages: Use the following command to find and install missing packages or to find and update existing packages:
    find /media/cdrom -name compat-libstdc++-33-3.2.3-* | xargs rpm -Uvh

    This single command installs a package when the package is not installed. This command updates a package to a newer version when the package is installed.

What to do next

Required packages vary per operating system. See Preparing Linux systems for installation for a list of required packages for each Linux operating system.


task Task topic

Terms of use | Feedback


Timestamp icon Last updated: 21 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic//com.ibm.websphere.wesb620.doc/doc/tins_rhel_packages.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).