Using Debian Advanced Package Tool (APT) for Apama on thin-edge.io
Tags: iot, apama, cumulocity, tutorial
Published: 2022-12-22 09:11:12

---
title: Using Debian Advanced Package Tool (APT) for Apama on thin-edge.io
published: true
date: 2022-11-22 16:52:40 UTC
tags: iot, apama, cumulocity, tutorial
canonical_url: https://tech.forums.softwareag.com/t/using-debian-advanced-package-tool-apt-for-apama-on-thin-edge-io/266307
---

Apama 10.15.0.2 now supports the Debian advance package tool (APT) for installation of Apama software and projects on thin-edge devices running on Debian operating systems. This process can be manged entirely using the Device Management app in your Cumulocity IOT tenant. Once your thin-edge device is set up, there is no further need to use the command line on your device. Instead, the following steps should be used to install support for Apama on thin-edge and individual Apama projects. Please note that when installing Apama projects, the projects must be compressed in ZIP format.

## Set up the repository from which the packages will be installed

1. In the Cumulocity IoT tenant, open the **Device Management** app, go to the **Management** menu option and select the **Software**  **repository**.
2. Click **Add software** at the right of the top menu bar.
3. In the **ADD SOFTWARE** dialog enter the following details:

- **Software** : apama-repo
- **Description** : apama-repo (or something else if you choose)
- **Device Filter Type** : (leave empty)
- **Software Type** : apt
- **Version** : 2022::apt
- **SOFTWARE FILE** : check the Provide a file path option and enter the URL: [https://downloads.apamacommunity.com/debian/apama-repo\_2022\_all.deb](https://downloads.apamacommunity.com/debian/apama-repo_2022_all.deb)

4. Click the **Add Software** button.
5. Now select the **Devices** menu option and then select **All devices**.
6. In the list of devices, select the thin-edge device installed previously.
7. In the sub-menu for the device, select the **Software** option.
8. Click the **Install software** button in the bottom left; the apama-repo should be listed.
9. Click the drop-down arrow on the right and check the 2022::apt radio button. Then, click **Install**.
10. Finally, click the **Apply changes** button in the lower right of the panel.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l88w5f5gia487lnyqkog.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zwjqd0lk76s8vxfu6l0o.png)




## Add the Apama thin-edge support package to the tenant software repository and deploy it to thin-edge

1. Return to the **Device Management** app and go to the **Management** menu option and select the **Software repository**.
2. Click **Add software** at the right of the top menu bar.
3. In the **ADD SOFTWARE** dialog enter the following details:

- **Software** : apama-thin-edge-support
- **Description** : apama-thin-edge-support (or something else if you choose)
- **Device Filter Type** : (leave empty)
- **Software Type** : apt
- **Version** : 10.15.0.2-1::apt
- **SOFTWARE FILE** : select the **Provide a file path** option and give an **empty space** (’ ').

4. Click the **Add Software** button.
5. Now return to the **Devices** menu option and then select **All devices**.
6. In the list of devices, select the thin-edge device installed previously.
7. In the sub-menu for the device, select the **Software** option.
8. Click the **Install software** button in the bottom left; the apama-thin-edge-support should be listed.
9. Click the drop-down arrow on the right and check the 10.15.0.2-1::apt radio button. Then, click **Install**.
10. Finally, click the **Apply changes** button in the lower right of the panel.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s1g3s2e084afsrxds600.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x32t612djwzn2rrojgbj.png)




Once Apama support has been installed, the correlator will attempt to start. However, it will initially fail because there is not yet an Apama project installed on the device. An Apama project can be deployed using the Cumulocity IoT tenant, as described below.

## Installing an Apama project on the thin-edge device

Once you have created an Apama project you must zip up the project using the ZIP format and not some other compression utility. Then use your tenant to deploy the zipped project to your thin-edge device by [following the steps outlined in the original article](https://tech.forums.softwareag.com/t/using-debian-advanced-package-tool-apt-for-apama-on-thin-edge-io/266307).