How To Install lbcd on Kali Linux

In this tutorial we learn how to install lbcd on Kali Linux. lbcd is Return system load via UDP for remote load balancers

Introduction

In this tutorial we learn how to install lbcd on Kali Linux.

What is lbcd

lbcd is:

lbcd is a daemon that answers UDP queries for system load information and returns such information as uptime, load, number of logged-in users, percentage free of /tmp and /var/tmp, and whether there is a user on the console. It is intended for use with a load balancing system, and is particularly useful for such things as UNIX clusters for remote login where a traditional hardware load balancing solution doesn’t work as well.

No load balancing system is included in this package, only the client daemon and a simple Perl script to query it. No security or access control is done by the daemon, so access control must be done via iptables, a firewall, or an equivalent system.

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

Install lbcd Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install lbcd

Install lbcd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install lbcd using apt by running the following command:

sudo apt -y install lbcd

Install lbcd Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install lbcd

How To Uninstall lbcd on Kali Linux

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

sudo apt-get remove lbcd

Uninstall lbcd And Its Dependencies

To uninstall lbcd and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove lbcd

Remove lbcd Configurations and Data

To remove lbcd configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge lbcd

Remove lbcd configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge lbcd

Dependencies

lbcd have the following dependencies:

References

Summary

In this tutorial we learn how to install lbcd package on Kali Linux using different package management tools: apt, apt-get and aptitude.