- ubantu16.04里面报错如下:
$ unzip abc.zip
Archive: abc.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 abc.zip or
abc.zip.zip, and cannot find abc.zip.ZIP, period.
- 解决方法:
- 下载安装文件:
- 请打开浏览器下载,下载到文件p7zip_16.02_src_all.tar.bz2:https://jaist.dl.sourceforge.net/project/p7zip/p7zip/16.02/p7zip_16.02_src_all.tar.bz2 (不是直接点击链接…复制链接,在路径栏下载)
- 依次执行下面的命令安装:
- tar -jxvf p7zip_16.02_src_all.tar.bz2
- cd p7zip_16.02
- sudo make
- make install
- 安装完成后,在相应文件夹下面执行解压命令:
- 7za x abc.zip