How To Install r-cran-littler on Debian 12

Learn how to install r-cran-littler on Debian 12 with this tutorial. r-cran-littler is GNU R scripting and command-line front-end

Introduction

In this tutorial we learn how to install r-cran-littler on Debian 12.

What is r-cran-littler

r-cran-littler is:

The ‘r’ (aka ’littler’) program provides a lightweight binary wrapper around the GNU R language and environment for statistical computing and graphics.

While R can be used in batch mode, the r binary adds full support for both ‘shebang’-style scripting (i.e. using a hashmark-exclamation-path expression as the first line in scripts) as well as command-line use in standard Unix pipelines. In other words, r provides the R language without the environment.

There are three methods to install r-cran-littler on Debian 12. 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-littler 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-littler using apt-get by running the following command:

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

Install r-cran-littler Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install r-cran-littler

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

sudo aptitude -y install r-cran-littler

How To Uninstall r-cran-littler on Debian 12

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

sudo apt-get remove r-cran-littler

Uninstall r-cran-littler And Its Dependencies

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

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

Remove r-cran-littler Configurations and Data

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

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

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

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

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

Dependencies

r-cran-littler have the following dependencies:

References

Summary

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