How To Install erlang-neotoma on Kali Linux

In this tutorial we learn how to install erlang-neotoma on Kali Linux. erlang-neotoma is parser generator for Erlang

Introduction

In this tutorial we learn how to install erlang-neotoma on Kali Linux.

What is erlang-neotoma

erlang-neotoma is:

Neotoma is a packrat parser-generator for Erlang for Parsing Expression Grammars (PEGs). It consists of a parsing-combinator library with memoization routines, a parser for PEGs, and a utility to generate parsers from PEGs. It is inspired by treetop, a Ruby library with similar aims, and parsec, the parser-combinator library for Haskell.

Features include:

  • Simple, declarative parsers generated from even simpler grammars.
  • Fully integrated, single-pass lexical and syntactic analysis (a feature of PEGs).
  • Packrat-style memoization, boasting parse-time bound linearly to the input size (at the expense of memory usage).
  • In-place semantic analysis/transformation, supporting single-pass end-to-end in some applications.
  • Erlang code-generation for the lexical/syntactic analysis piece, with the option of semantic analysis/transformation inline, or in a separate module.
  • Line/column number tracking for easy resolution of parsing errors.

There are three methods to install erlang-neotoma 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 erlang-neotoma Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install erlang-neotoma

Install erlang-neotoma Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install erlang-neotoma

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

sudo aptitude -y install erlang-neotoma

How To Uninstall erlang-neotoma on Kali Linux

To uninstall only the erlang-neotoma package we can use the following command:

sudo apt-get remove erlang-neotoma

Uninstall erlang-neotoma And Its Dependencies

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

sudo apt-get -y autoremove erlang-neotoma

Remove erlang-neotoma Configurations and Data

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

sudo apt-get -y purge erlang-neotoma

Remove erlang-neotoma configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge erlang-neotoma

Dependencies

erlang-neotoma have the following dependencies:

References

Summary

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