weston-confine command not found

In this troubleshooting guide we learn how to fix weston-confine command not found error message

Introduction

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

weston-confine: command not found

or when using sudo you get the following error message

sudo: weston-confine: command not found

Solutions to weston-confine: command not found

How To Fix weston-confine: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu weston-confine is provided by weston package.

weston is:

Part of the Wayland project is also the Weston reference implementation of a Wayland compositor. Weston can run as an X client or under Linux KMS and ships with a few demo clients. The Weston compositor is a minimal and fast compositor and is suitable for many embedded and mobile use cases.

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

sudo apt-get -y install weston

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

You can also use apt command to install weston.

sudo apt -y install weston

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

sudo aptitude install weston

Summary

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