libaio Requirement

The Controller requires the libaio library to be on the system. This library facilitates asynchronous I/O operations on the system. Note if you have a NUMA based architecture, then you are required to install the numactl package.

Install libaio on the host machine if it does not already have it installed. The following table provides instructions on how to install libaio for some common flavors of Linux operating system.

Linux FlavorCommand
  • Red Hat
  • CentOS
  • Amazon

Use yum

  • yum install libaio
  • yum install numactl
  • yum install tzdata
  • yum install ncurses-libs-5.x

For RHEL8, CentOS8, and Amazon2, you install the ncurses-libs-5.x library using a rpm file downloaded from a trusted source:

sudo rpm -ivh --force ncurses-base-5.x.rpmsudo rpm -ivh --force ncurses-libs-5.x.rpm

Note: The ncurses-libs depends on the ncurses-base so you should install the ncurses-base first.

Example of a trusted source for rpm download:

http://vault.centos.org/centos/7/os/x86_64/Packages/ncurses-base-5.9-14.20130511.el7_4.noarch.rpm

http://vault.centos.org/centos/7/os/x86_64/Packages/ncurses-libs-5.9-14.20130511.el7_4.x86_64.rpm

  • To install version 6, follow these steps:

You must either create symlinks for ncurses-libs-5 which points to ncurses-libs-6, or install the ncurses-compat-libs package, to provide ABI version 5 compatibility.

How to create symlinks

RHEL8 symlink: sudo ln /usr/lib64/libtinfo.so.6.1 /usr/lib64/libtinfo.so.5 sudo ln /usr/lib64/libncurses.so.6.1 /usr/lib64/libncurses.so.5

CentOS8 symlink: sudo ln /usr/lib64/libtinfo.so.6.1 /usr/lib64/libtinfo.so.5 sudo ln /usr/lib64/libncurses.so.6.1 /usr/lib64/libncurses.so.5

Amazon2 symlink: sudo ln -s /usr/lib64/libncurses.so.6.0 /usr/lib64/libncurses.so.5 sudo ln -s /usr/lib64/libtinfo.so.6.0 /usr/lib64/libtinfo.so.5

How to install ncurses-compat-libs

RHEL8 compat-libs: sudo yum install -y ncurses-compat-libs

sudo yum install -y ncurses-compat-libs

Amazon2 compat-libs: sudo yum install -y ncurses-compat-libs

Fedora

Install the library RPM from the Fedora website:

  • yum install libaio
  • yum install numactl
  • yum install tzdata
Ubuntu

Use apt-get, such as:

  • sudo apt-get install libaio1
  • sudo apt-get install numactl
  • sudo apt-get install tzdata
  • sudo apt-get install libncurses5
Note: For Ubuntu20 you can install libncurses5 or libncurses6.If you choose libncurses5:How to install libncurses5sudo apt-get install libncurses5If you choose libncurses6:How to install libncurses6sudo apt-get install libncurses6Note: For libncurses6 you need to create symlink for libncurses5 pointing to libncurses6.How to create symlinkssudo ln -s /usr/lib/x86_64-linux-gnu/libncurses.so.6.2 /usr/lib/x86_64-linux-gnu/libncurses.so.5sudo ln -s /usr/lib/x86_64-linux-gnu/libtinfo.so.6.2 /usr/lib/x86_64-linux-gnu/libtinfo.so.5
DebianUse a package manager such as APT to install the library (as described for the Ubuntu instructions above).
SLES12 and SLES15

Use zypper to install the library, such as:

sudo zypper install libxml2-2

sudo zypper install libxml2-tools

sudo zypper install libaio1

sudo zypper install numactl

sudo zypper install libcurses5

sudo zypper install tzdata