How To Install busybox-syslogd on Debian 10

Learn how to install busybox-syslogd on Debian 10 with this tutorial. busybox-syslogd is Provides syslogd and klogd using busybox

Introduction

In this tutorial we learn how to install busybox-syslogd on Debian 10.

What is busybox-syslogd

busybox-syslogd is:

The system log daemon is responsible for providing logging of messages received from programs and facilities on the local host as well as from remote hosts.

The kernel log daemon listens to kernel message sources and is responsible for prioritizing and processing operating system messages.

The busybox implementation of the syslogd is particular useful on embedded, diskless (netboot) or flash disk based systems because it can use a fixed size ring buffer for logging instead of saving logs to the disk or sending it to remote logging servers. The ring buffer can be read using the (also busybox based) command logread.

This package provides the glue to the busybox syslogd and klogd to be used in the system by providing the appropriate symbolic links and scripts.

There are three methods to install busybox-syslogd on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install busybox-syslogd Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install busybox-syslogd using apt-get by running the following command:

sudo apt-get -y install busybox-syslogd

Install busybox-syslogd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install busybox-syslogd using apt by running the following command:

sudo apt -y install busybox-syslogd

Install busybox-syslogd Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install busybox-syslogd using aptitude by running the following command:

sudo aptitude -y install busybox-syslogd

How To Uninstall busybox-syslogd on Debian 10

To uninstall only the busybox-syslogd package we can use the following command:

sudo apt-get remove busybox-syslogd

Uninstall busybox-syslogd And Its Dependencies

To uninstall busybox-syslogd and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove busybox-syslogd

Remove busybox-syslogd Configurations and Data

To remove busybox-syslogd configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge busybox-syslogd

Remove busybox-syslogd configuration, data, and all of its dependencies

We can use the following command to remove busybox-syslogd configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge busybox-syslogd

Dependencies

busybox-syslogd have the following dependencies:

References

Summary

In this tutorial we learn how to install busybox-syslogd package on Debian 10 using different package management tools: apt, apt-get and aptitude.