Tri*_*lag 3 software-installation
所以我在安装 Leap Motion Orion 时遇到了一些问题。我正在尝试按如下方式安装它:
cd Downloads/
cd Leap_Motion_Installer_Packages_release_public_linux/
sudo dpkg --install Leap-2.3.1+31549-x64.deb
Run Code Online (Sandbox Code Playgroud)
错误信息:
dpkg --install Leap-2.3.1+31549-x64.deb
(Reading database ... 280274 files and directories currently installed.)
Preparing to unpack Leap-2.3.1+31549-x64.deb ...
Failed to stop leapd.service: Unit leapd.service not loaded.
Unpacking leap (2.3.1+31549) over (2.3.1+31549) ...
removed '/etc/init.d/leapd'
Setting up leap (2.3.1+31549) ...
Leap Motion installed under /usr/bin and /usr/sbin
Failed to start leapd.service: Unit leapd.service not found.
dpkg: error processing package leap (--install):
subprocess installed post-installation script returned error exit status 5
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
leap
Run Code Online (Sandbox Code Playgroud)
Leap 仍然是为 upstart 设置的,最近从 upstart 迁移到 systemd 使得一些像 Leap 这样的软件包安装失败。
请按照以下步骤操作:
sudo nano /lib/systemd/system/leapd.service
sudo ln -s /lib/systemd/system/leapd.service /etc/systemd/system/leapd.service
sudo systemctl daemon-reload
sudo dpkg --install Leap-2.3.1+31549-x64.deb
Run Code Online (Sandbox Code Playgroud)
跳跃.服务文件:
[Unit]
Description=LeapMotion Daemon
After=syslog.target
[Service]
Type=simple
ExecStart=/usr/sbin/leapd
[Install]
WantedBy=multi-user.target
Run Code Online (Sandbox Code Playgroud)
安装后可以看到:
Check Leap Motion daemon with: service leapd status
Open the Leap Motion GUI with: LeapControlPanel
See /usr/share/Leap/README.linux for more information
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
2791 次 |
最近记录: |