$ 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
*****2021.01.30更新
也有可能是因为没安装解压软件:)
1、压缩功能
安装 sudo apt-get install rar
卸载 sudo apt-get remove rar
2、解压功能
安装 sudo apt-get install unrar
卸载 sudo apt-get remove unrar
压缩解压缩.rar
解压:rar x FileName.rar
压缩:rar a FileName.rar DirName