【小技巧】树莓派 unzip 解压报错: End-of-central-directory signature not found.

解压缩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局限蛮大的呀。


参考资料

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页