How To Install libproc-fastspawn-perl on Debian 10

Learn how to install libproc-fastspawn-perl on Debian 10 with this tutorial. libproc-fastspawn-perl is module to fork+exec, or spawn, a subprocess as quickly as possible

Introduction

In this tutorial we learn how to install libproc-fastspawn-perl on Debian 10.

What is libproc-fastspawn-perl

libproc-fastspawn-perl is:

The purpose of this small (in scope and footprint) module is simple: spawn a subprocess asynchronously as efficiently and/or fast as possible. Basically the same as calling fork+exec (on POSIX), but hopefully faster than those two syscalls.

Apart from fork overhead, this module also allows you to fork+exec programs when otherwise you couldn’t - for example, when you use POSIX threads in your perl process then it generally isn’t safe to call fork from perl, but it is safe to use this module to execute external processes.

There are three methods to install libproc-fastspawn-perl 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 libproc-fastspawn-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 libproc-fastspawn-perl using apt-get by running the following command:

sudo apt-get -y install libproc-fastspawn-perl

Install libproc-fastspawn-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libproc-fastspawn-perl using apt by running the following command:

sudo apt -y install libproc-fastspawn-perl

Install libproc-fastspawn-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 libproc-fastspawn-perl using aptitude by running the following command:

sudo aptitude -y install libproc-fastspawn-perl

How To Uninstall libproc-fastspawn-perl on Debian 10

To uninstall only the libproc-fastspawn-perl package we can use the following command:

sudo apt-get remove libproc-fastspawn-perl

Uninstall libproc-fastspawn-perl And Its Dependencies

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

sudo apt-get -y autoremove libproc-fastspawn-perl

Remove libproc-fastspawn-perl Configurations and Data

To remove libproc-fastspawn-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libproc-fastspawn-perl

Remove libproc-fastspawn-perl configuration, data, and all of its dependencies

We can use the following command to remove libproc-fastspawn-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libproc-fastspawn-perl

Dependencies

libproc-fastspawn-perl have the following dependencies:

References

Summary

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