How To Install ola-python on Debian 9

In this tutorial we learn how to install ola-python on Debian 9. ola-python is Open Lighting Architecture - Python Classes

Introduction

In this tutorial we learn how to install ola-python on Debian 9.

What is ola-python

ola-python is:

The DMX512 standard for Digital MultipleX is used for digital communication networks commonly used to control stage lighting and effects.

The Open Lighting Architecture (OLA) provides a plugin framework for distributing DMX512 control signals.

This package contains the Python client module.

There are three methods to install ola-python on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ola-python Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ola-python

Install ola-python Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ola-python

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

sudo aptitude -y install ola-python

How To Uninstall ola-python on Debian 9

To uninstall only the ola-python package we can use the following command:

sudo apt-get remove ola-python

Uninstall ola-python And Its Dependencies

To uninstall ola-python and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove ola-python

Remove ola-python Configurations and Data

To remove ola-python configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge ola-python

Remove ola-python configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ola-python

Dependencies

ola-python have the following dependencies:

References

Summary

In this tutorial we learn how to install ola-python package on Debian 9 using different package management tools: apt, apt-get and aptitude.