How To Install elpa-ess on Kali Linux

In this tutorial we learn how to install elpa-ess on Kali Linux. elpa-ess is Emacs mode for statistical programming and data analysis

Introduction

In this tutorial we learn how to install elpa-ess on Kali Linux.

What is elpa-ess

elpa-ess is:

“Emacs Speaks Statistics” (ESS) is an add-on package for emacs text editors such as GNU Emacs and XEmacs. It is designed to support editing of scripts and interaction with various statistical analysis programs such as R, S-Plus, SAS, Stata and OpenBUGS/JAGS. Although all users of these statistical analysis programs are welcome to apply ESS, advanced users or professionals who regularly work with text-based statistical analysis scripts, with various statistical languages/programs, or with different operating systems might benefit from it the most.

The rationale for developing ESS is that most statistical analysis systems provide a more or less sophisticated graphical user interface (GUI). However, their full power is only available using their scripting language. Furthermore, complex statistical analysis projects require a high degree of automation and documentation which can only be handled by creating statistical analysis scripts. Unfortunately, many statistics packages provide only weak text editor functionality and show major differences between them. Without a unified text editor user interface additional effort is required from the user to cope with limited functionality and with text editor differences.

Therefore, emacs editors and the ESS package provide the following major features:

  • Support for various operating systems Examples: Linux, Unix, Mac OS X and MS Windows
  • Working environment based on emacs Examples: File Manager (Dired), File Transfer Client/Telnet Client (Tramp), Multiple Clipboards (registers), Bookmarks, Abbreviations, and many others
  • Support for various statistical analysis languages Examples: R, S-Plus, SAS, Stata and OpenBUGS/JAGS Examples: Keybindings, Abbreviations, Syntax highlighting, Code formatting, Commenting, Submitting scripts, Displaying results and Searching documentation

ESS is freely available under the GNU General Public License (GPL). For further technical and legal information please refer to the ESS Manual.

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

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

sudo apt-get -y install elpa-ess

Install elpa-ess Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-ess

Install elpa-ess Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install elpa-ess

How To Uninstall elpa-ess on Kali Linux

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

sudo apt-get remove elpa-ess

Uninstall elpa-ess And Its Dependencies

To uninstall elpa-ess and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove elpa-ess

Remove elpa-ess Configurations and Data

To remove elpa-ess configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge elpa-ess

Remove elpa-ess configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge elpa-ess

Dependencies

elpa-ess have the following dependencies:

References

Summary

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