mir_wayland_generator command not found

In this troubleshooting guide we learn how to fix mir_wayland_generator command not found error message

Introduction

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

mir_wayland_generator: command not found

or when using sudo you get the following error message

sudo: mir_wayland_generator: command not found

Solutions to mir_wayland_generator: command not found

How To Fix mir_wayland_generator: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mir_wayland_generator is provided by libmirwayland-bin package.

libmirwayland-bin is:

Contains the tool used for generating the Mir-style wrappers for Wayland protocol extensions found in libmirwayland

This can be useful for implementing Wayland protocol extensions not already implemented in Mir.

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

sudo apt-get -y install libmirwayland-bin

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

You can also use apt command to install libmirwayland-bin.

sudo apt -y install libmirwayland-bin

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

sudo aptitude install libmirwayland-bin

Summary

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