gpm-microtouch-setup command not found

In this troubleshooting guide we learn how to fix gpm-microtouch-setup command not found error message

Introduction

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

gpm-microtouch-setup: command not found

or when using sudo you get the following error message

sudo: gpm-microtouch-setup: command not found

Solutions to gpm-microtouch-setup: command not found

How To Fix gpm-microtouch-setup: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gpm-microtouch-setup is provided by gpm package.

gpm is:

This package provides a daemon that captures mouse events when the system console is active, and delivers events to applications through a library.

By default, the daemon provides a ‘selection’ mode, so that cut-and-paste with the mouse works on the console just as it does under X.

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

sudo apt-get -y install gpm

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

You can also use apt command to install gpm.

sudo apt -y install gpm

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

sudo aptitude install gpm

Summary

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