Using Raspberry Pi

Install Logitech Anywhere MX Mouse

sudo apt-get update
sudo apt-get install solaar