Installing Apama using Debian apt

Overview of installing Apama with Debian apt

On Debian-based Linux distributions based on x86-64 or ARMv8, it is possible to install Apama using the default package management tool. Apama is located in a repository hosted on https://download.cumulocity.com/Apama/Debian/.

To install from this repository, you must first add the repository to your apt configuration, using the instructions in the repository.

You must also enable the Debian backports repository for your Debian release, following the instructions in the Debian backports documentation. Apama depends on the quickjs-ng JavaScript engine (libqjs0), which Debian ships in backports rather than in the main repository. If backports is not enabled, apt reports that it cannot satisfy Apama’s dependency on libqjs0.

Once configured, you can install Apama through the package manager:

apt update
apt install apama

Apama uses the Python interpreter provided by the operating system. Python plug-ins additionally require the operating system’s libpython, which the apama package recommends and so installs along with Apama; apama-server only suggests it, so install it explicitly if you install that package on its own. See Writing EPL plug-ins in Python.

Fixes to Apama can be automatically applied using the package manager. If a new fix is released, it is installed by running the following:

apt update
apt upgrade

You can also remove Apama using the apt tool:

apt remove apama