How To Install libstatistics-basic-perl on Debian 9
Introduction
In this tutorial we learn how to install libstatistics-basic-perl
on Debian 9.
What is libstatistics-basic-perl
libstatistics-basic-perl is:
Statistics::Basic is a collection of very basic statistics modules. It includes modules to find the correlation between two arrays, find the covariance between two arrays, find the least square fit for two arrays, find the mean of an array, find the median of an array, find the mode of an array, find the standard deviation of an array, and find the variance of an array.
There are three methods to install libstatistics-basic-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 libstatistics-basic-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 libstatistics-basic-perl
using apt-get
by running the following command:
sudo apt-get -y install libstatistics-basic-perl
Install libstatistics-basic-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libstatistics-basic-perl
using apt
by running the following command:
sudo apt -y install libstatistics-basic-perl
Install libstatistics-basic-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 libstatistics-basic-perl
using aptitude
by running the following command:
sudo aptitude -y install libstatistics-basic-perl
How To Uninstall libstatistics-basic-perl on Debian 9
To uninstall only the libstatistics-basic-perl
package we can use the following command:
sudo apt-get remove libstatistics-basic-perl
Uninstall libstatistics-basic-perl And Its Dependencies
To uninstall libstatistics-basic-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libstatistics-basic-perl
Remove libstatistics-basic-perl Configurations and Data
To remove libstatistics-basic-perl
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libstatistics-basic-perl
Remove libstatistics-basic-perl configuration, data, and all of its dependencies
We can use the following command to remove libstatistics-basic-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libstatistics-basic-perl
Dependencies
libstatistics-basic-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libstatistics-basic-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.