To decompress a 2G zip file to the virtual machine, the built-in content is not fully recognized. You have to install this. I found an article and it should be executable. However, I am re-installing the VM now, and the/OPT option is too small .. Ah. 7zip is an open-source compression software. it is very compact and provides similar functions as WinRAR, but supports almost twice as many formats as the latter. 7z is fully open-source, including compression algorithms. It also allows you to easily use the libraries it provides and integrate the compression function into your own programs. Install wgethttp: // nc
To decompress a 2G zip file to the virtual machine, the built-in content is not fully recognized. You have to install this.
I found an article and it should be executable. However, I am re-installing the VM now, and the/OPT option is too small .. Ah.
7ZipIt is an open-source compression software, which is very small and provides similar functions as WinRAR, but supports almost twice as many formats as the latter. 7z is fully open-source, including compression algorithms. It also allows you to easily use the libraries it provides and integrate the compression function into your own programs.
SecurityInstallation: Execute the following command line by line
Wget http://nchc.dl.sourceforge.net/sourceforge/p7Zip/P7Zip_4.65_src_all.tar.bz2
Tar-xjvf p7Zip_4.65_src_all.tar.bz2
Cd p7Zip_ 4.65
Make
Make install
See the following information, note 7ZipSecurityInstallationSuccessful.
./Install. sh/usr/local/bin/usr/local/lib/p7Zip/Usr/local/man/usr/local/share/doc/p7Zip
-Installing/usr/local/bin/7za
-Installing/usr/local/man/man1/7z. 1
-Installing/usr/local/man/man1/7za. 1
-Installing/usr/local/man/man1/7zr. 1
-Installing/usr/local/share/doc/p7Zip/README
-Installing/usr/local/share/doc/p7Zip/ChangeLog
-Installing HTML help in/usr/local/share/doc/p7Zip/DOCS
Command line usage:
Command is an operation command, as follows:
A added to the compressed file
B benchmark test to test the current performance of 7z
D. delete the file from the compressed file.
E. extract from the compressed file, but does not contain the directory structure (that is, all files at all levels are extracted to a directory)
L list compressed file content
T test compressed files
U updates files to compressed files
X extract from the compressed file, including the directory structure
The most common commands are a, l, and x.
For specific use, let's take a few examples to understand:
Compress a.txt and B .txtto c.7z:
7za a c.7z a.txt B .txt (the first file name after command a is the compressed file name, and then the file list)
Compress a.txt and B .txt to/home/www/c.7z:
7za a/home/www/c.7z a.txt B .txt (directory name contains spaces, enclosed in quotation marks)
Column content of c.7z:
7za l c.7z
Decompress c.7z to/home/www:
7za x c.7z-o/home/www (-o indicates the output directory, and there is no space between it and the directory path)
In this way, extract the directory name that contains the lower-level directory, but do not create a new c folder under/home/www. if necessary, set the output directory to/home/www/c, in this way, the c folder is automatically created.
If you want to generateZipCompressed package. you can set the name of the target compressed package to c.Zip, It will automatically useZipAlgorithm compression.