Installing / Upgrading Solaar on Ubuntu 18.0.4

Logitech makes great peripherals. But getting them to work on Linux isn't always trivial. For Logitech devices that have a Unifying Receiver, Solaar can help. Solaar is "Linux Device Manager for Logitech Unifying Receivers and Paired Devices."

v1.0.0 is a major upgrade from the previous version 0.9.2. If you had 0.9.2 or earlier versions installed, you may first want to remove them:

$ sudo apt remove solaar

Solaar v1.0.0 is written in Python3. So, first install:

sudo apt install python3-pyudev

Now, install Solaar using pip:

sudo -H pip install solaar

Set up udev rules file:

$ sudo updatedb
$ sudo locate 42-logitech-unify-permissions.rules
$ sudo cp /usr/local/lib/python3.6/dist-packages/etc/udev/rules.d/42-logitech-unify-permissions.rules /etc/udev/rules.d/

Check if install was successfull:

$ solaar --version