Install gpm by entering the following commands in the terminal:
sudo apt update sudo apt install gpm
Description:
General Purpose Mouse interface
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.
Homepage: https://nico.schottelius.org/software/gpm/
Version: 1.20.7-5
Section: universe/misc