解壓縮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
侷限蠻大的呀。
參考資料