How To Install qml-module-io-thp-pyotherside on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes • 530 words
Introduction
In this tutorial we learn how to install qml-module-io-thp-pyotherside
on Ubuntu.
What is qml-module-io-thp-pyotherside
qml-module-io-thp-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 qml-module-io-thp-pyotherside
on Ubuntu. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install qml-module-io-thp-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 qml-module-io-thp-pyotherside
using apt-get
by running the following command:
sudo apt-get -y install qml-module-io-thp-pyotherside
Install qml-module-io-thp-pyotherside Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install qml-module-io-thp-pyotherside
using apt
by running the following command:
sudo apt -y install qml-module-io-thp-pyotherside
Install qml-module-io-thp-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install qml-module-io-thp-pyotherside
using aptitude
by running the following command:
sudo aptitude -y install qml-module-io-thp-pyotherside
How To Uninstall qml-module-io-thp-pyotherside on Ubuntu
To uninstall only the qml-module-io-thp-pyotherside
package we can use the following command:
sudo apt-get remove qml-module-io-thp-pyotherside
Uninstall qml-module-io-thp-pyotherside And Its Dependencies
To uninstall qml-module-io-thp-pyotherside
and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove qml-module-io-thp-pyotherside
Remove qml-module-io-thp-pyotherside Configurations and Data
To remove qml-module-io-thp-pyotherside
configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge qml-module-io-thp-pyotherside
Remove qml-module-io-thp-pyotherside configuration, data, and all of its dependencies
We can use the following command to remove qml-module-io-thp-pyotherside
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge qml-module-io-thp-pyotherside
Dependencies
qml-module-io-thp-pyotherside have the following dependencies:
- python3
- libc6
- libgcc-s1
- libpython3.10
- libqt5core5a
- libqt5gui5
- libqt5qml5
- libqt5quick5
- libqt5svg5
- libstdc++6
- qtdeclarative-abi-5-15-2
References
Summary
In this tutorial we learn how to install qml-module-io-thp-pyotherside
package on Ubuntu using different package management tools: apt, apt-get and aptitude.