Install xsel by entering the following commands in the terminal:
sudo apt update sudo apt install xsel
Description:
command-line tool to access X clipboard and selection buffers
XSel is a command-line program for getting and setting the contents of the X selection. It can also append and have it follow a growing file (similar to tail -f).
Homepage: http://www.vergenet.net/~conrad/software/xsel/
Version: 1.2.0-4
Section: universe/x11