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 &&
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,
For those who are new to Linux, they will surely be confused by a large number of packages and compressed files in Linux. We know that in Windows, the most common compressed files are in rar and zip formats and the currently emerging 7z format. It
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
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
Compression Packaging Introduction:Commonly used compressed file types:1, windows:.rar/.zip/.7z2, Linux:.zip/.gz/.bz2/.xz/.tar/.gz/.tar/.bz2/.tar/.xzGzip Compression Tool:1, experiment, CD to/tmp directory, use MKDI to create a directory d6z, in the
Gzip, bzip2, tar, zip command usage details 1. gzipgzip is a GNU compression program. It only compresses a single file. The basic usage is as follows: after the $ gzip filenameprogram is executed, the file name is changed to filename.gz, And the
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
Gzip/gunzip command
Function descriptionSimilar to the Gizp/gunzip command, compress and decompress files. For directories that can only compress all files in the directory, after compression is complete, a compressed package with ". bz2"
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.