How To Install pyside-tools on Debian 9

In this tutorial we learn how to install pyside-tools on Debian 9. pyside-tools is development tools for PySide (uic, rcc, lupdate)

Introduction

In this tutorial we learn how to install pyside-tools on Debian 9.

What is pyside-tools

pyside-tools is:

Qt is a cross-platform C++ application framework. Qt’s primary feature is its rich set of widgets that provide standard GUI functionality.

PySide ships Python bindings for the Qt4 framework. This package ships the following accompanying tools:

  • pyside-rcc - PySide resource compiler
  • pyside-uic - Python User Interface Compiler for PySide
  • pyside-lupdate - update Qt Linguist translation files for PySide

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

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

sudo apt-get update

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

sudo apt-get -y install pyside-tools

Install pyside-tools Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pyside-tools

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

sudo aptitude -y install pyside-tools

How To Uninstall pyside-tools on Debian 9

To uninstall only the pyside-tools package we can use the following command:

sudo apt-get remove pyside-tools

Uninstall pyside-tools And Its Dependencies

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

sudo apt-get -y autoremove pyside-tools

Remove pyside-tools Configurations and Data

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

sudo apt-get -y purge pyside-tools

Remove pyside-tools configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pyside-tools

Dependencies

pyside-tools have the following dependencies:

References

Summary

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