Package Dependencies

Linux Monitoring Agent Version 2 requires the unzip, ethtool, smartmontools, dmidecode and glibc (2.12) which are generally installed by default in modern Linux distributions. Where any of these packages are not installed on the server it will be necessary to add them when performing a manual installation.

As we require not only the installation of glibc but also a specific version (2.12), we will cover how to add this package.

Check glibc and version

To view whether glibc is installed on the server and its version number run the ldd command with the version switch.

ldd --version

Install glibc

Where glibc is not discovered on the device, the following command installs the package. This requires root to install.

Install glibc on Debian-based distributions

apt-get install libc6-dev

Install glibc on Red Hat, Fedora and CentOS

To check whether the computer is using DNF or YUM, run the following command.

yum --version

To install glibc in DNF enter:

dnf install glibc-devel

To install glibc in YUM enter:

yum install glibc-devel

Once complete rerun the ldd command.

ldd --version

Where the required packages are not discovered during a Site Installation Package deployment, they are automatically downloaded and installed.

What do you want to do?