Ubuntu/Debian
Official packages
Starting from Ubuntu 11.10 (Oneiric) and Debian 7 (Wheezy), Ubuntu and Debian provide official packages of libfreenect. You can install them easily in a console:
$ sudo apt-get install freenectIn Ubuntu 12.04 the gspca kernel driver prevent libfreenect from claiming the Kinect device in user-mode.Either remove and blacklist the module
$ sudo modprobe -r gspca_kinect $ sudo modprobe -r gspca_main $ echo "blacklist gspca_kinect" |sudo tee -a /etc/modprobe.d/blacklist.confor install a recent versions of libfreenect that can automatically detach the kernel driver by adding Florian Echtler libtisch PPA (see below) with updated libfreenect packages for Ubuntu 12.04.
The freenect device is accessible to any user belonging to the group 'plugdev'. By default, a desktop user belongs to the plugdev group but if you need to add him to the group:
$ sudo adduser $USER plugdev
===================================================================================================
$ sudo apt-get install libfreenect libfreenect-dev libfreenect-demos
$ sudo apt-get install libxtst-dev
后来又安装了很多:#88
运行eclipse时提示JVM版本过低的话再运行:#120