Introduction
In this tutorial we learn how to install libapp-control-perl
on Ubuntu 20.04.
What is libapp-control-perl
libapp-control-perl is:
App::Control is a simple module to replicate the kind of functionality you get
with apachectl to control Apache, but for any script or executable. There is a
very simple OO interface, where the constructor is used to specify the
executable, command line arguments, and pidfile, and various methods (start,
stop, etc.) are used to control the executable in the obvious way. The module
is intended to be used in a simple wrapper control script. Currently the
module does a fork and exec to start the executable, and sets the signal
handler for SIGCHLD to ‘IGNORE’ to avoid zombie processes.
There are three methods to install libapp-control-perl
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 libapp-control-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 libapp-control-perl
using apt-get
by running the following command:
sudo apt-get -y install libapp-control-perl
Install libapp-control-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libapp-control-perl
using apt
by running the following command:
sudo apt -y install libapp-control-perl
Install libapp-control-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libapp-control-perl
using aptitude
by running the following command:
sudo aptitude -y install libapp-control-perl
How To Uninstall libapp-control-perl on Ubuntu 20.04
To uninstall only the libapp-control-perl
package we can use the following command:
sudo apt-get remove libapp-control-perl
Uninstall libapp-control-perl And Its Dependencies
To uninstall libapp-control-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libapp-control-perl
Remove libapp-control-perl Configurations and Data
To remove libapp-control-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libapp-control-perl
Remove libapp-control-perl configuration, data, and all of its dependencies
We can use the following command to remove libapp-control-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libapp-control-perl
References
Summary
In this tutorial we learn how to install libapp-control-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.