Linux命令行下,使用unzip命令解压文件,出现如下错误:
Archive: ****.zip warning [****.zip]: 8642080822 extra bytes at beginning or within zipfile (attempting to process anyway) error [****.zip]: start of central directory not found; zipfile corrupt. (please check that you have transferred or created the zipfile in the appropriate BINARY mode and that you have compiled UnZip properly)
这个报错是因为压缩包太大了,一定大于10G,需要使用7za x命令解压****.zip,如果自己的linux上没有p7zip,请使用如下步骤进行安装:
1.首先进入p7zip官网下载安装包:p7zip - Browse /p7zip at SourceForge.netp7zip is a quick port of 7z.exe and 7za.exe (command line version of 7zip, see www.7-zip.org) for Unix.7-Zip is a file archiver with highest…http://sourceforge.net/projects/p7zip/files/p7zip/2.点击绿色按钮下载最新版p7zip;
3.下载完成后,将p7zip_16.02_src_all.tar.bz2上传至Linux系统;
4.上传之后使用命令tar -xjpf p7zip_16.02_src_all.tar.bz2进行解压(也可以用其他的解压命令);
5.解压完成后,使用命令 cd p7zip_16.02 进入p7zip的文件夹下;
6.然后,输入make命令并回车进行安装包的安装;
7.然后,输入make install 命令并回车进行安装依赖;
8.到这里,p7zip安装完成,以后使用7za x ****.zip命令就可以解压10G以上的压缩包了