How To Install pyotherside on Debian 9

In this tutorial we learn how to install pyotherside on Debian 9. pyotherside is Asynchronous Python 3 Bindings for Qt 5 (QML plugin)

Introduction

In this tutorial we learn how to install pyotherside on Debian 9.

What is pyotherside

pyotherside is:

A Qt 5 QML Plugin that provides access to a Python 3 interpreter from QML.

PyOtherSide is a Qt 5 QML Plugin that provides access to a Python 3 interpreter from QML. It was designed with mobile devices in mind, where high-framerate touch interfaces are common, and where the user usually interfaces only with one application at a time via a touchscreen. As such, it is important to never block the UI thread, so that the user can always continue to use the interface, even when the backend is processing, downloading or calculating something in the background.

At its core, PyOtherSide is basically a simple layer that converts Qt (QML) objects to Python objects and vice versa, with focus on asynchronous events and continuation-passing style function calls.

While legacy versions of PyOtherSide worked with Qt 4.x and Python 2.x, its focus now lies on Python 3.x and Qt 5. Python 3 has been out for several years, and offers some nice language features and clean-ups, while Qt 5 supports most mobile platforms well, and has an improved QML engine and a faster renderer (Qt Scene Graph) compared to Qt 4.

This package provides the QML plugin.

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

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

sudo apt-get update

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

sudo apt-get -y install pyotherside

Install pyotherside Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install pyotherside using apt by running the following command:

sudo apt -y install pyotherside

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

sudo aptitude -y install pyotherside

How To Uninstall pyotherside on Debian 9

To uninstall only the pyotherside package we can use the following command:

sudo apt-get remove pyotherside

Uninstall pyotherside And Its Dependencies

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

sudo apt-get -y autoremove pyotherside

Remove pyotherside Configurations and Data

To remove pyotherside configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge pyotherside

Remove pyotherside configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pyotherside

Dependencies

pyotherside have the following dependencies:

References

Summary

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