1.下载安装一些一类包 以及编译工具
#安装编译工具
sudo apt-get install build-essential
#安装依赖包
sudo apt-get install cmake git libgtk2.0-dev pkg-config
libavcodec-dev libavformat-dev libswscale-dev
#安装可选包
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev
libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev