How To Install libdaemon on Fedora 36

In this tutorial we learn how to install libdaemon in Fedora 36. libdaemon is Library for writing UNIX daemons

Introduction

In this tutorial we learn how to install libdaemon on Fedora 36.

What is libdaemon

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 or dnf to install libdaemon on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libdaemon.

Install libdaemon on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libdaemon

Install libdaemon on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libdaemon

How To Uninstall libdaemon on Fedora 36

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

sudo dnf remove libdaemon

libdaemon Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/9a3c255aedbc2ff6f1332ffc130bb9728708ef
/usr/lib64/libdaemon.so.0
/usr/lib64/libdaemon.so.0.5.0
/usr/share/doc/libdaemon
/usr/share/doc/libdaemon/LICENSE
/usr/share/doc/libdaemon/README

References

Summary

In this tutorial we learn how to install libdaemon on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install libdaemon on Fedora 36” linkTitle: “libdaemon” type: “docs” description: “In this tutorial we learn how to install libdaemon in Fedora 36. libdaemon is Library for writing UNIX daemons” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libdaemon-featured.png

Introduction

In this tutorial we learn how to install libdaemon on Fedora 36.

What is libdaemon

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 or dnf to install libdaemon on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libdaemon.

Install libdaemon on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libdaemon

Install libdaemon on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libdaemon

How To Uninstall libdaemon on Fedora 36

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

sudo dnf remove libdaemon

libdaemon Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/dde0fb419d6bd429cdb1910e489b99b353dfb0
/usr/lib/libdaemon.so.0
/usr/lib/libdaemon.so.0.5.0
/usr/share/doc/libdaemon
/usr/share/doc/libdaemon/LICENSE
/usr/share/doc/libdaemon/README

References

Summary

In this tutorial we learn how to install libdaemon on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).