How To Install libexperimental-perl on Debian 11
Introduction
In this tutorial we learn how to install libexperimental-perl
on Debian 11.
What is libexperimental-perl
libexperimental-perl is:
The experimental pragma provides an easy and convenient way to enable or disable experimental features.
Experimental features were introduced in Perl 5.18, together with a warnings category “exmperimental”. When such features are used, the respective warnings have to be turned off additionally.
There are three methods to install libexperimental-perl
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libexperimental-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 libexperimental-perl
using apt-get
by running the following command:
sudo apt-get -y install libexperimental-perl
Install libexperimental-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libexperimental-perl
using apt
by running the following command:
sudo apt -y install libexperimental-perl
Install libexperimental-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 libexperimental-perl
using aptitude
by running the following command:
sudo aptitude -y install libexperimental-perl
How To Uninstall libexperimental-perl on Debian 11
To uninstall only the libexperimental-perl
package we can use the following command:
sudo apt-get remove libexperimental-perl
Uninstall libexperimental-perl And Its Dependencies
To uninstall libexperimental-perl
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libexperimental-perl
Remove libexperimental-perl Configurations and Data
To remove libexperimental-perl
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libexperimental-perl
Remove libexperimental-perl configuration, data, and all of its dependencies
We can use the following command to remove libexperimental-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libexperimental-perl
Dependencies
libexperimental-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libexperimental-perl
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.