How To Install busybox-syslogd on Ubuntu 20.04
Introduction
In this tutorial we learn how to install busybox-syslogd
on Ubuntu 20.04.
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.
Package: busybox-syslogd Architecture: all Version: 1:1.30.1-4ubuntu6.2 Priority: optional Section: utils Source: busybox Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Install System Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 71 Provides: linux-kernel-log-daemon, system-log-daemon Depends: busybox (» 1:1.30.1) | busybox-static (» 1:1.30.1), lsb-base Conflicts: linux-kernel-log-daemon, system-log-daemon Filename: pool/main/b/busybox/busybox-syslogd_1.30.1-4ubuntu6.2_all.deb Size: 4728 MD5sum: c82a7b38cd62807e890404f597dbd0c3 SHA1: 1764f629b3fb60b20327f55c144dc0f68e4a4b6b SHA256: 8e9f28b2780c2a08a6a0230e9d546e9294f0d4a2eabf45121133d65e97c9ce0e SHA512: 9aee384ed88cb57cd3041de4e8479d1e53335d50a5418bb5f14062957fb89cfaea903fb740d8a1b79dfd30d1bbd3bdc5e06f7f82571164325a226490a6dc61f7 Homepage: http://www.busybox.net Description-en: Provides syslogd and klogd using busybox 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.
Package: busybox-syslogd Architecture: all Version: 1:1.30.1-4ubuntu6 Priority: optional Section: utils Source: busybox Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Install System Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 71 Provides: linux-kernel-log-daemon, system-log-daemon Depends: busybox (» 1:1.30.1) | busybox-static (» 1:1.30.1), lsb-base Conflicts: linux-kernel-log-daemon, system-log-daemon Filename: pool/main/b/busybox/busybox-syslogd_1.30.1-4ubuntu6_all.deb Size: 4728 MD5sum: 0bad847e38e84fad29a44b5e5127952c SHA1: 85ef645f0994278fbb8c65982f2425493dcbf95b SHA256: f6ca9dae322a8be3f536bb660ce42132e1ad6e57f506bdfa6eb9b2b3812a3a68 Homepage: http://www.busybox.net Description-en: Provides syslogd and klogd using busybox 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 Ubuntu 20.04. 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 Ubuntu. 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 Ubuntu 20.04
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 Ubuntu 20.04, 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 Ubuntu 20.04 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
References
Summary
In this tutorial we learn how to install busybox-syslogd
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.