pyside2-lupdate command not found

In this troubleshooting guide we learn how to fix pyside2-lupdate command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

pyside2-lupdate: command not found

or when using sudo you get the following error message

sudo: pyside2-lupdate: command not found

Solutions to pyside2-lupdate: command not found

How To Fix pyside2-lupdate: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pyside2-lupdate is provided by pyside2-tools package.

pyside2-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.

PySide2 ships Python bindings for the Qt5 framework. This package ships the following accompanying tools:

  • pyside2-lupdate - update Qt Linguist translation files for PySide

To fix this problem, we can install more using the command below.

sudo apt-get -y install pyside2-tools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install pyside2-tools.

sudo apt -y install pyside2-tools

Or if you have aptitude installed you can use the following command.

sudo aptitude install pyside2-tools

Summary

In this tutorial we learn how to fix pyside2-lupdate command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.