How To Install libpdl-stats-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libpdl-stats-perl
on Ubuntu 20.04.
What is libpdl-stats-perl
libpdl-stats-perl is:
This package provides several statistical Perl module:
- PDL::GSL::CDF PDL interface to GSL Cumulative Distribution Functions
- PDL::Stats::Basic basic statistics and related utilities such as standard deviation, Pearson correlation, and t-tests
- PDL::Stats::Distr parameter estimations and probability density functions for distributions
- PDL::Stats::GLM general and generalized linear modeling methods such as ANOVA, linear regression, PCA, and logistic regression
- PDL::Stats::Kmeans classic k-means cluster analysis
- PDL::Stats::TS basic time series functions
There are three methods to install libpdl-stats-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 libpdl-stats-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 libpdl-stats-perl
using apt-get
by running the following command:
sudo apt-get -y install libpdl-stats-perl
Install libpdl-stats-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libpdl-stats-perl
using apt
by running the following command:
sudo apt -y install libpdl-stats-perl
Install libpdl-stats-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 libpdl-stats-perl
using aptitude
by running the following command:
sudo aptitude -y install libpdl-stats-perl
How To Uninstall libpdl-stats-perl on Ubuntu 20.04
To uninstall only the libpdl-stats-perl
package we can use the following command:
sudo apt-get remove libpdl-stats-perl
Uninstall libpdl-stats-perl And Its Dependencies
To uninstall libpdl-stats-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libpdl-stats-perl
Remove libpdl-stats-perl Configurations and Data
To remove libpdl-stats-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libpdl-stats-perl
Remove libpdl-stats-perl configuration, data, and all of its dependencies
We can use the following command to remove libpdl-stats-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpdl-stats-perl
References
Summary
In this tutorial we learn how to install libpdl-stats-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.