How To Install libdaemon.i686 on Amazon Linux 2

In this tutorial we learn how to install libdaemon.i686 in Amazon Linux 2. libdaemon.i686 is Library for writing UNIX daemons

Introduction

In this tutorial we learn how to install libdaemon.i686 on Amazon Linux 2.

What is libdaemon.i686

libdaemon is a lightweight C library which eases the writing of UNIX daemons. It consists of the following parts * A wrapper around fork() which does the correct daemonization procedure of a process * A wrapper around syslog() for simpler and compatible log output to Syslog or STDERR * An API for writing PID files * An API for serializing UNIX signals into a pipe for usage with select() or poll() * An API for running subprocesses with STDOUT and STDERR redirected to syslog.

We can use yum to install libdaemon.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libdaemon.i686.

Install libdaemon.i686 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libdaemon.i686 using yum by running the following command:

sudo yum -y install libdaemon.i686

How To Uninstall libdaemon.i686 on Amazon Linux 2

To uninstall only the libdaemon.i686 package we can use the following command:

sudo yum remove libdaemon.i686

libdaemon.i686 Package Contents on Amazon Linux 2

/usr/lib/libdaemon.so.0
/usr/lib/libdaemon.so.0.5.0
/usr/share/doc/libdaemon-0.14
/usr/share/doc/libdaemon-0.14/LICENSE
/usr/share/doc/libdaemon-0.14/README

References

Summary

In this tutorial we learn how to install libdaemon.i686 on Amazon Linux 2 using yum.