libdecor-egl command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
libdecor-egl: command not found
or when using sudo you get the following error message
sudo: libdecor-egl: command not found
Solutions to libdecor-egl: command not found
How To Fix libdecor-egl: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu libdecor-egl is provided by libdecor-tests package.
libdecor-tests is:
libdecor is a library that can help Wayland clients draw window decorations for them. It aims to provide multiple backends that implements the decoration drawing.
This package contains manual test programs. Automated tests might be added to this package in future versions.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libdecor-tests
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libdecor-tests.
sudo apt -y install libdecor-tests
Or if you have aptitude installed you can use the following command.
sudo aptitude install libdecor-tests
Summary
In this tutorial we learn how to fix libdecor-egl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.