If Leap Motion SDK installation failed with dpkg command, the site gives you the answer.
Before running sudo dpkg --install Leap-*-x64.deb, we should first make a file /lib/systemd/system/leapd.service with the following contents. Otherwise, dpkg returns error message as Errors were encountered while processing: leap:
# Found by Kevin Cole 2014.11.22 at
https://github.com/atejeda/leap-fedora-rpm
#
Remember to:
#
ln -s /lib/systemd/system/leapd.service /etc/systemd/system/leapd.service
systemctl daemon-reload
#
[Unit] Description=LeapMotion Daemon After=syslog.target
[Service] Type=simple ExecStart=/usr/sbin/leapd
[Install] WantedBy=multi-user.target