How To Install littler on Ubuntu 22.04

In this tutorial we learn how to install littler on Ubuntu 22.04. littler is GNU R scripting and command-line front-end – transition package

Introduction

In this tutorial we learn how to install littler on Ubuntu 22.04.

What is littler

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.

This virtual package ensures that ‘r-cran-littler’ is installed. Once that is done, this ’littler’ package can be removed.

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

sudo apt-get -y install littler

Install littler Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install littler

Install 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install littler

How To Uninstall littler on Ubuntu 22.04

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

sudo apt-get remove littler

Uninstall littler And Its Dependencies

To uninstall littler and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove littler

Remove littler Configurations and Data

To remove littler configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge littler

Remove littler configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge littler

References

Summary

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