1 installed libusb-dev with apt-get
2 安装参照https://codeyarns.com/2015/08/04/how-to-install-and-use-openni2/
3 sudo ./install.sh
4 把rules copy到/etc/udev/rules.d/
5 sudo gedit .bashrc 导出环境变量export
6 运行./NiViewer找不到设备参照https://codeyarns.com/2015/09/28/no-devices-found-error-with-openni2/的方法