How To Install libperlbal-perl on Debian 9
Introduction
In this tutorial we learn how to install libperlbal-perl on Debian 9.
What is libperlbal-perl
libperlbal-perl is:
These are libraries that allow an application to internally run an instance of perlbal.
Perlbal is a single-threaded event-based server supporting HTTP load balancing, web serving, and a mix of the two. Perlbal can act as either a web server or a reverse proxy.
One of the defining things about Perlbal is that almost everything can be configured or reconfigured on the fly without needing to restart the software. A basic configuration file containing a management port enables you to easily perform operations on a running instance of Perlbal.
Perlbal can also be extended by means of per-service (and global) plugins that can override many parts of request handling and behavior.
There are three methods to install libperlbal-perl on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install libperlbal-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install libperlbal-perl using apt-get by running the following command:
sudo apt-get -y install libperlbal-perl
Install libperlbal-perl Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libperlbal-perl using apt by running the following command:
sudo apt -y install libperlbal-perl
Install libperlbal-perl 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 libperlbal-perl using aptitude by running the following command:
sudo aptitude -y install libperlbal-perl
How To Uninstall libperlbal-perl on Debian 9
To uninstall only the libperlbal-perl package we can use the following command:
sudo apt-get remove libperlbal-perl
Uninstall libperlbal-perl And Its Dependencies
To uninstall libperlbal-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libperlbal-perl
Remove libperlbal-perl Configurations and Data
To remove libperlbal-perl configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libperlbal-perl
Remove libperlbal-perl configuration, data, and all of its dependencies
We can use the following command to remove libperlbal-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libperlbal-perl
Dependencies
libperlbal-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libperlbal-perl package on Debian 9 using different package management tools: apt, apt-get and aptitude.