choosewm command not found

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

Introduction

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

choosewm: command not found

or when using sudo you get the following error message

sudo: choosewm: command not found

Solutions to choosewm: command not found

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

In Ubuntu choosewm is provided by choosewm package.

choosewm is:

When installed, this package installs a x-session-manager alternative allowing the user to choose the window manager. The list is taken by default from everything installing a window manager option in the Debian menu system, but the administrator or user can add or remove items via config files.

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

sudo apt-get -y install choosewm

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

You can also use apt command to install choosewm.

sudo apt -y install choosewm

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

sudo aptitude install choosewm

Summary

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