(已解决)装入归档文件时出现了一个错误,End-of-central-directory signature not found.

$ unzip 2.4.10.zip
Archive:  2.4.10.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(s) of this archive.
unzip:  cannot find zipfile directory in one of 2.4.10.zip or
        2.4.10.zip.zip, and cannot find 2.4.10.zip.ZIP, period.

尝试过直接提取到此处和用unzip命令解压压缩包,均失败。
可尝试用jar xvf filename.zip来进行解压
若提示jar:Command not found,则ubuntun下使用:sudo apt-get install -f jar,
运行结果如下图所示。

$ jar xvf 2.4.10.zip
  已创建: opencv-2.4.10/
  已解压: opencv-2.4.10/.tgitconfig
  已创建: opencv-2.4.10/3rdparty/
  已创建: opencv-2.4.10/3rdparty/ffmpeg/
  已解压: opencv-2.4.10/3rdparty/ffmpeg/ffmpeg_version.cmake
已提取: opencv-2.4.10/3rdparty/ffmpeg/ffopencv.c
  已解压: opencv-2.4.10/3rdparty/ffmpeg/make.bat
  已解压: opencv-2.4.10/3rdparty/ffmpeg/opencv_ffmpeg.dll
  已解压: opencv-2.4.10/3rdparty/ffmpeg/opencv_ffmpeg_64.dll
  已解压: opencv-2.4.10/3rdparty/ffmpeg/readme.txt
  已创建: opencv-2.4.10/3rdparty/include/
  已创建: opencv-2.4.10/3rdparty/include/dshow/
  已解压: opencv-2.4.10/3rdparty/include/dshow/_mingw_dxhelper.h
  已解压: opencv-2.4.10/3rdparty/include/dshow/_mingw_unicode.h
  已解压: opencv-2.4.10/3rdparty/include/dshow/amvideo.h
  已解压: opencv-2.4.10/3rdparty/include/dshow/audevcod.h
  已解压: opencv-2.4.10/3rdparty/include/dshow/bdatypes.h
  已解压: opencv-2.4.10/3rdparty/include/dshow/control.h
  已解压: opencv-2.4.10/3rdparty/include/dshow/ddraw.h

你可能感兴趣的:(ubuntu,系统)