解压缩opencv
$ unzip opencv.zip
$ unzip opencv_contrib.zip
解压报错:
Archive: opencv.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk
解决办法:
jar xvf opencv.zip
进行解压
文件大小为 2.2G,可能是unzip
设置了这个限制吧。在网上查到要用jar
来解
jar xvf trunk.zip
如果出现
jar:Command not found
要用yum下载
yum -y install java-1.6.0-openjdk-devel
再次运行
jar xvf trunk.zip
就能成功,看来,unzip
局限蛮大的呀。
参考资料