首页 > 学院 > 开发设计 > 正文

ubuntu opencv3.0安装脚本

2019-11-08 01:48:58
字体:
来源:转载
供稿:网友
#!/bin/bashapt-get updateapt-get install -y --no-install-recommends apt-utilsapt-get install -y --no-install-recommends python python-pip /libpython2.7 /build-essential /gfortran /libatlas-base-dev /python-dev /python2.7-dev /python-tk /cmake pkg-config /libjpeg8-dev /libtiff5-dev /libjasper-dev /libpng12-dev /libavcodec-dev /libavformat-dev /libswscale-dev /libv4l-dev wget /unzippip install --upgrade pippip install numpywget --no-check-certificate https://codeload.github.com/opencv/opencv/zip/3.0.0unzip 3.0.0 && rm -rf 3.0.0cd opencv-3.0.0&& mkdir build && cd buildcmake -D CMAKE_BUILD_TYPE=RELEASE ..make -j 4make installapt-get remove --purge -y gfortran build-essential cmake python-piprm -rf /var/lib/apt/lists/* /var/cache/apt/archives
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表