How To Install elpa-tuareg on Kali Linux
Introduction
In this tutorial we learn how to install elpa-tuareg
on Kali Linux.
What is elpa-tuareg
elpa-tuareg is:
Tuareg handles automatic indentation of Objective Caml and Caml-Light code. Key parts of the code are highlighted using Font-Lock. It provides support to run an interactive OCaml toplevel and debugger.
This mode attempts to give better results than the caml-mode provided by the elpa-caml package. Indentation rules are slightly different but closer to classical functional languages indentation. Tuareg gives access to some functionalities from caml-mode when the elpa-caml package is installed.
There are three methods to install elpa-tuareg
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-tuareg 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-tuareg
using apt-get
by running the following command:
sudo apt-get -y install elpa-tuareg
Install elpa-tuareg Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install elpa-tuareg
using apt
by running the following command:
sudo apt -y install elpa-tuareg
Install elpa-tuareg 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-tuareg
using aptitude
by running the following command:
sudo aptitude -y install elpa-tuareg
How To Uninstall elpa-tuareg on Kali Linux
To uninstall only the elpa-tuareg
package we can use the following command:
sudo apt-get remove elpa-tuareg
Uninstall elpa-tuareg And Its Dependencies
To uninstall elpa-tuareg
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove elpa-tuareg
Remove elpa-tuareg Configurations and Data
To remove elpa-tuareg
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge elpa-tuareg
Remove elpa-tuareg configuration, data, and all of its dependencies
We can use the following command to remove elpa-tuareg
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-tuareg
Dependencies
elpa-tuareg have the following dependencies:
References
Summary
In this tutorial we learn how to install elpa-tuareg
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.