Unzip more than 4GB zip file in Linux environment

Source: Internet
Author: User

Today, in the Linux server to extract a zip compression package, the following error message:

[Email protected] zip_bcsa_courses]#Unzipbcsa_medias_bak_20161118.ZipError:zipfileToo big (greater than4294959102bytes) archive:bcsa_medias_bak_20161118.Zipwarning [bcsa_medias_bak_20161118.Zip]:31450041244Extra bytes at beginning or within ZipFile (attempting to process anyway) error [bcsa_medias_bak_20161118.Zip]: Start of Central directory is not found;  ZipFile corrupt. (Please check the transferred or created the ZipFileinchThe appropriate BINARY mode and that you have compiled UnZip properly) [Email protected] zip_bcsa_courses]#

After Baidu only know, the original unzip can not extract more than 4GB zip file (did not think so weak ...) ), need to put Niaoqianghuanpao (P7zip).

Yum-y Install P7zip

[Email protected] zip_bcsa_courses]#Yum-YInstallp7ziploaded Plugins:katello, product-ID, Security, subscription-managerupdating Certificate-based repositories. Unable to read consumer identitysetting up Install processresolving Dependencies-Running Transaction Check---> Package p7zip.x86_640:9.20.1-2. El5 set to be updated-finished Dependency resolutiondependencies resolved======================================================================================Package Arch Version Repository Size======================================================================================Installing:p7zip x86_649.20.1-2. El5 Epel745ktransaction Summary======================================================================================Install1Package (s) Upgrade0Package (s) Total Download size:745kdownloading Packages:p7zip-9.20.1-2. el5.x86_64.rpm |745Kbxx:xxRunning rpm_check_debugrunning Transaction testfinished Transaction testtransaction Test succeededrunning Transac                                                                                                                                                                   tion Installing:p7zip 1/1installed products updated. Installed:p7zip.x86_640:9.20.1-2. El5 Complete![email protected] zip_bcsa_courses]#
After installation, use "7za x bcsa_course.zip" to extract more than 4GB zip compressed files.

Unzip more than 4GB zip file in Linux environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.