How To Install science-statistics on Ubuntu 20.04

In this tutorial we learn how to install science-statistics on Ubuntu 20.04. science-statistics is Debian Science Statistics packages

Introduction

In this tutorial we learn how to install science-statistics on Ubuntu 20.04.

What is science-statistics

science-statistics is:

This metapackage is part of the Debian Pure Blend “Debian Science” and installs packages related to statistics. This task is a general task which might be useful for any scientific work. It depends from a lot of R packages as well as from other tools which are useful to do statistics. Moreover the Science Mathematics task is suggested to optionally install all mathematics related software.

There are three methods to install science-statistics 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 science-statistics Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

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

sudo apt-get -y install science-statistics

Install science-statistics Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install science-statistics

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

sudo aptitude -y install science-statistics

How To Uninstall science-statistics on Ubuntu 20.04

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

sudo apt-get remove science-statistics

Uninstall science-statistics And Its Dependencies

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

sudo apt-get -y autoremove science-statistics

Remove science-statistics Configurations and Data

To remove science-statistics configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge science-statistics

Remove science-statistics configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge science-statistics

References

Summary

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