How To Install pyotherside-doc on Debian 10

Learn how to install pyotherside-doc on Debian 10 with this tutorial. pyotherside-doc is asynchronous Python 3 Bindings for Qt 5 (documentation)

Introduction

In this tutorial we learn how to install pyotherside-doc on Debian 10.

What is pyotherside-doc

pyotherside-doc 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 HTML documentation as well as the set of examples.

There are three methods to install pyotherside-doc 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 pyotherside-doc 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-doc using apt-get by running the following command:

sudo apt-get -y install pyotherside-doc

Install pyotherside-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pyotherside-doc

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

sudo aptitude -y install pyotherside-doc

How To Uninstall pyotherside-doc on Debian 10

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

sudo apt-get remove pyotherside-doc

Uninstall pyotherside-doc And Its Dependencies

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

sudo apt-get -y autoremove pyotherside-doc

Remove pyotherside-doc Configurations and Data

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

sudo apt-get -y purge pyotherside-doc

Remove pyotherside-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pyotherside-doc

Dependencies

pyotherside-doc have the following dependencies:

References

Summary

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