How To Install ess on Debian 9

In this tutorial we learn how to install ess on Debian 9. ess is Emacs mode for statistical programming and data analysis

Introduction

In this tutorial we learn how to install ess on Debian 9.

What is ess

ess is:

ESS (“Emacs Speaks Statistics”) is a GNU Emacs and XEmacs mode for interactive statistical programming and data analysis. Languages supported are the S family (S 3/4, S-PLUS 3/4/5/6/7, and R), SAS, XLispStat, Stata, BUGS and Julia.

ESS grew out of the desire for bug fixes and extensions to S-mode and SAS-mode as well as a consistent union of their features in one package.

As of versions 16.04 or later, Emacs version 24 or later is required.

There are three methods to install ess on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ess Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ess

Install ess Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ess

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

sudo aptitude -y install ess

How To Uninstall ess on Debian 9

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

sudo apt-get remove ess

Uninstall ess And Its Dependencies

To uninstall ess and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove ess

Remove ess Configurations and Data

To remove ess configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge ess

Remove ess configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ess

Dependencies

ess have the following dependencies:

References

Summary

In this tutorial we learn how to install ess package on Debian 9 using different package management tools: apt, apt-get and aptitude.