wm2 command not found

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

Introduction

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

wm2: command not found

or when using sudo you get the following error message

sudo: wm2: command not found

Solutions to wm2: command not found

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

In Ubuntu wm2 is provided by wm2 package.

wm2 is:

wm2 is a window manager for X. It provides an unusual style of window decoration and as little functionality as Chris Cannam feels comfortable with in a window manager. wm2 is not configurable, except by editing the source and recompiling the code, and is really intended for people who don’t particularly want their window manager to be too friendly.

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

sudo apt-get -y install wm2

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

You can also use apt command to install wm2.

sudo apt -y install wm2

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

sudo aptitude install wm2

Summary

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