How To Install r-cran-pracma on Debian 11

In this tutorial we learn how to install r-cran-pracma on Debian 11. r-cran-pracma is practical numerical math functions for GNU R

Introduction

In this tutorial we learn how to install r-cran-pracma on Debian 11.

What is r-cran-pracma

r-cran-pracma is:

Provides a large number of functions from numerical analysis and linear algebra, numerical optimization, differential equations, time series, plus some well-known special mathematical functions. Uses ‘MATLAB’ function names where appropriate to simplify porting.

There are three methods to install r-cran-pracma 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 r-cran-pracma Using apt-get

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

sudo apt-get update

After updating apt database, We can install r-cran-pracma using apt-get by running the following command:

sudo apt-get -y install r-cran-pracma

Install r-cran-pracma Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install r-cran-pracma using apt by running the following command:

sudo apt -y install r-cran-pracma

Install r-cran-pracma 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 r-cran-pracma using aptitude by running the following command:

sudo aptitude -y install r-cran-pracma

How To Uninstall r-cran-pracma on Debian 11

To uninstall only the r-cran-pracma package we can use the following command:

sudo apt-get remove r-cran-pracma

Uninstall r-cran-pracma And Its Dependencies

To uninstall r-cran-pracma and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove r-cran-pracma

Remove r-cran-pracma Configurations and Data

To remove r-cran-pracma configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge r-cran-pracma

Remove r-cran-pracma configuration, data, and all of its dependencies

We can use the following command to remove r-cran-pracma configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge r-cran-pracma

Dependencies

r-cran-pracma have the following dependencies:

References

Summary

In this tutorial we learn how to install r-cran-pracma package on Debian 11 using different package management tools: apt, apt-get and aptitude.