Open youro web browser and lead to :

https://launchpad.net/ubuntu/+source/libinput

photo_2018-06-24_09-53-28.jpg

Download these DEBs:

https://launchpad.net/ubuntu/+archive/primary/+files/libinput-bin_1.11.1-1_amd64.deb
https://launchpad.net/ubuntu/+archive/primary/+files/libinput-tools_1.11.1-1_amd64.deb
https://launchpad.net/ubuntu/+archive/primary/+files/libinput10_1.11.1-1_amd64.deb

Or you can use wget anyway.

Then Install:

sudo dpkg -i *.deb

Enjoy.