How To Install libstatistics-contingency-perl on Debian 11
Introduction
In this tutorial we learn how to install libstatistics-contingency-perl
on Debian 11.
What is libstatistics-contingency-perl
libstatistics-contingency-perl is:
The Statistics::Contingency class helps you calculate several useful statistical measures based on 2x2 “contingency tables”. These measures can help judge the results of automatic text categorization experiments, but they are useful in other situations as well.
The general usage flow is to tally a whole bunch of results in the Statistics::Contingency object, then query that object to obtain the measures you are interested in. When all results have been collected, you can get a report on accuracy, precision, recall, F1, and so on, with both macro-averaging and micro-averaging over categories.
There are three methods to install libstatistics-contingency-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 libstatistics-contingency-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-contingency-perl
using apt-get
by running the following command:
sudo apt-get -y install libstatistics-contingency-perl
Install libstatistics-contingency-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libstatistics-contingency-perl
using apt
by running the following command:
sudo apt -y install libstatistics-contingency-perl
Install libstatistics-contingency-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-contingency-perl
using aptitude
by running the following command:
sudo aptitude -y install libstatistics-contingency-perl
How To Uninstall libstatistics-contingency-perl on Debian 11
To uninstall only the libstatistics-contingency-perl
package we can use the following command:
sudo apt-get remove libstatistics-contingency-perl
Uninstall libstatistics-contingency-perl And Its Dependencies
To uninstall libstatistics-contingency-perl
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove libstatistics-contingency-perl
Remove libstatistics-contingency-perl Configurations and Data
To remove libstatistics-contingency-perl
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge libstatistics-contingency-perl
Remove libstatistics-contingency-perl configuration, data, and all of its dependencies
We can use the following command to remove libstatistics-contingency-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libstatistics-contingency-perl
Dependencies
libstatistics-contingency-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libstatistics-contingency-perl
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.