How To Install liborlite-statistics-perl on Ubuntu 18.04

In this tutorial we learn how to install liborlite-statistics-perl on Ubuntu 18.04. liborlite-statistics-perl is ORLite extension providing simple statistics

Introduction

In this tutorial we learn how to install liborlite-statistics-perl on Ubuntu 18.04.

What is liborlite-statistics-perl

liborlite-statistics-perl is:

ORLite::Statistics provides easy integration with the Statistics::Basic set of modules (see libstatistics-basic-perl). It enables some basic statistical analysis by generating a vector for a particular method, which can then be used for any number of things, like determining the median, mean, standard deviation and other basic descriptive statistics.

There are three methods to install liborlite-statistics-perl on Ubuntu 18.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 liborlite-statistics-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 liborlite-statistics-perl using apt-get by running the following command:

sudo apt-get -y install liborlite-statistics-perl

Install liborlite-statistics-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liborlite-statistics-perl

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

sudo aptitude -y install liborlite-statistics-perl

How To Uninstall liborlite-statistics-perl on Ubuntu 18.04

To uninstall only the liborlite-statistics-perl package we can use the following command:

sudo apt-get remove liborlite-statistics-perl

Uninstall liborlite-statistics-perl And Its Dependencies

To uninstall liborlite-statistics-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove liborlite-statistics-perl

Remove liborlite-statistics-perl Configurations and Data

To remove liborlite-statistics-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge liborlite-statistics-perl

Remove liborlite-statistics-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liborlite-statistics-perl

References

Summary

In this tutorial we learn how to install liborlite-statistics-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.