Install BZIP2The order is as follows:
The code is as follows:
Make-f Makefile-libbz2_so &&
Make &&
Make install &&
CP Bzip2-shared/bin/bzip2 &&
Ln-s libbz2.so.1.0 libbz2.so &&
Cp-a libbz2.so*/lib &&
Rm/lib/libbz2.so &&
This article is to Uncle Bird's Linux private cuisine (basic study) of the third edition of the study notes, the original text can refer to the original book Chinese website Bird uncle's Linux private dishes.In the Linux environment, the operation
14.3. File compression and archiving
Sometimes we need to store a set of files in a single file for backup or transfer to another directory or even another computer. Sometimes we also need to compress files into one file, so they use only a small
Linux compression helper bzip2GuideTo compress a file, you can use a small number of bytes to encode the data in the file to significantly reduce the file size, and it is useful for cross-network file backup and transfer. On the other hand,
PHP extension-compression and archive extension-the Bzip2 bzip2 function is used to transparently read and write bzip2(.bz2) compressed files.
This module uses the functions in the» bzip2 library of Julian Seward. This module requires bzip2/libbzip2
The BZIP2 function is used to transparently read and write bzip2 (. bz2) Compressed files.
This module uses the functions in the»BZIP2 Library of Julian Seward. This module requires BZIP2/LIBBZIP2 version >= 1.0.x.
PHP BZIP2 support is not turned
Bzip2 adopts the new compression algorithm, which is better than the traditional LZ77/LZ78 compression algorithm. If no compression file is added, the compressed file .bz2 will be uploaded and the original file will be deleted.SyntaxBzip2
Implementation of the Java decompression technology GZIP ZIP BZIP2Unlike Gzip ZIP, BZIP2 is not implemented in Java, BZIP2 implementations are provided by Apache Commons-compress.jar.About Commons Compress please visit:
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.