Install Required Linux Packages

STA requires additional RPM packages. The STA installer will check for specific packages and if they are not present, the STA installation will fail.

Note:

RPM package names are case-sensitive. Choose the 64-bit version (x86_64) of any package if more than one version is available.

Required RPM Packages

  • bc
  • binutils
  • compat-libcap1
  • compat-libstdc++-33
  • cronie
  • ed
  • expect
  • gcc
  • gcc-c++
  • glibc
  • glibc-devel
  • libaio
  • libaio-devel
  • libgcc
  • libstdc++
  • libstdc++-devel
  • net-snmp-utils
  • net-tools
  • perl-Data-Dumper
  • perl-Digest-MD5
  • perl-Digest-SHA
  • rpm-build
  • sysstat
  • unzip
  • xorg-x11-xauth
  • xorg-x11-utils

Packages that must NOT be installed

The mariadb packages (an alternative to MySQL) must NOT be installed on the STA server as it will cause the MySQL installation to fail.

Mail Services Packages

The STA installer issues a warning if it does not detect a package that supports mail services. STA requires mail services to deliver email notifications for alerts or Resource Monitor threshold notices.

The installer checks for the following: mailx, sendmail, postfix, dovecot.

IMPORTANT: The postfix mail package is NOT acceptable if it has a dependency on the mariadb-libs package.

Using yum to manage the packages

You can use a variety of methods to install the required RPM packages. This procedure describes how to use yum. See Setup yum (optional).

Deinstalling Packages

To de-install the mariadb-libs package (which may have been installed as a dependency):

# yum remove mariadb-libs

This will also remove any dependent packages, including postfix if necessary.

Installing Packages

yum checks for the most current version and then installs the package and any dependencies. Depending on your Linux installation, some of these packages may have already been installed. If a package is already installed and at the most current version, the system notifies you.

  1. Open a terminal session on the STA server.
  2. If you can reach Oracle's public yum server, use one of the following methods to install packages:
    • Install packages one at a time.The specified package will be downloaded and checked, and you must answer all prompts.
      # yum install package_name
      
    • Install all packages at once with no prompting. The –y option automatically answers "yes" to all installation prompts.
      # yum –y install bc binutils compat-libcap1 compat-libstdc++-33 cronie ed expect gcc gcc-c++ glibc glibc-devel libaio libaio-devel libgcc libstdc++ libstdc++-devel net-snmp-utils net-tools perl-Data-Dumper perl-Digest-MD5 perl-Digest-SHA rpm-build sysstat unzip xorg-x11-xauth xorg-x11-utils 
      
  3. If your network firewall prohibits external network access, you can use yum to install locally available packages from the Linux media.

    For example:

    # cd /mnt/install_media_mount_location/packages
    # yum install ./package_name