twm command not found

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

Introduction

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

twm: command not found

or when using sudo you get the following error message

sudo: twm: command not found

Solutions to twm: command not found

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

In Ubuntu twm is provided by twm package.

twm is:

twm is a window manager for the X Window System. It provides title bars, shaped windows, several forms of icon management, user-defined macro functions, click-to-type and pointer-driven keyboard focus, and user-specified key and pointer button bindings.

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

sudo apt-get -y install twm

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

You can also use apt command to install twm.

sudo apt -y install twm

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

sudo aptitude install twm

Summary

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