How To Install erlang-goldrush on Debian 10

Learn how to install erlang-goldrush on Debian 10 with this tutorial. erlang-goldrush is small Erlang app that provides fast event stream processing

Introduction

In this tutorial we learn how to install erlang-goldrush on Debian 10.

What is erlang-goldrush

erlang-goldrush is:

Goldrush is a small Erlang app that provides fast event stream processing

Features:

  • Event processing compiled to a query module
  • per module protected event processing statistics
  • query module logic can be combined for any/all filters
  • query module logic can be reduced to efficiently match event processing
  • Complex event processing logic
  • match input events with greater than (gt) logic
  • match input events with less than (lt) logic
  • match input events with equal to (eq) logic
  • match input events with wildcard (wc) logic
  • match input events with notfound (nf) logic
  • match no input events (null blackhole) logic
  • match all input events (null passthrough) logic
  • Handle output events
  • Once a query has been composed the output action can be overridden with an erlang function. The function will be applied to each output event from the query.

There are three methods to install erlang-goldrush on Debian 10. 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-goldrush 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-goldrush using apt-get by running the following command:

sudo apt-get -y install erlang-goldrush

Install erlang-goldrush Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install erlang-goldrush

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

sudo aptitude -y install erlang-goldrush

How To Uninstall erlang-goldrush on Debian 10

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

sudo apt-get remove erlang-goldrush

Uninstall erlang-goldrush And Its Dependencies

To uninstall erlang-goldrush and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove erlang-goldrush

Remove erlang-goldrush Configurations and Data

To remove erlang-goldrush configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge erlang-goldrush

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

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

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

Dependencies

erlang-goldrush have the following dependencies:

References

Summary

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