lrelease command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
lrelease: command not found
or when using sudo you get the following error message
sudo: lrelease: command not found
Solutions to lrelease: command not found
How To Fix lrelease: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu lrelease is provided by qtchooser package.
qtchooser is:
Qt is a cross-platform C++ application framework. Qt’s primary feature is its rich set of widgets that provide standard GUI functionality.
The Qt Chooser provides a wrapper to switch between versions of Qt development binaries when multiple versions like 4 and 5 are installed or local Qt builds are to be used.
To fix this problem, we can install more using the command below.
sudo apt-get -y install qtchooser
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install qtchooser.
sudo apt -y install qtchooser
Or if you have aptitude installed you can use the following command.
sudo aptitude install qtchooser
Summary
In this tutorial we learn how to fix lrelease command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.