Link: http://blog.sina.com.cn/s/blog_5e1ec7060101c4m7.html
201305028 add to favorites
WinRAR supports decompression of the 7z package, but does not support decompression of the 7z file. If you use WinRAR to open the 7z file, an error is returned.
The original cause is that
As a summary and sharing, this article collects and sorts out the reille blog articles about 7z, how to install and use 7z commands in Linux, and how to port 7z to embedded Linux.
If you like, or are interested in, or need to involve the technical knowledge described in this topic at work, we recommend that you read from top to bottom in order so that you can sys
This article mainly introduces the method of installing 7z command under Linux, and introduces the use of 7z command. 7z compression format has many advantages, with a very high compression ratio, if you do not understand, see the article: 7z format, LZMA compression algorithm and 7-zip detailed introduction.The Linux
1.1 Online InstallationIf your host Linux can be connected to the extranet, it is recommended this way, convenient and simple, execute the command:sudo apt-get install P7zipYou can install the 7z command online.1.2 Installation package Installation7z (exactly 7-zip) provides a program installation package under the line, or it can be compiled and installed on its own. This is the installation using the bin package provided by 7z.Host Linux is generall
theI downloaded it like this (on the Samba server)[Email protected]:~/workshare/android5_1$ lltotal 5824448drwxrwxrwx 2 Nobody nogroup 4096 Sep 08:49./drwxrwxrwx 3 root root 4096 Sep 26 08:24.. /-rw-rw-rw-1 Nobody nogroup 4290772992 Sep-02:53 android-5.1.tar.bzip2-no-repo.7z.001-rw-rw-rw-1 nobody nogroup 16734 42061 Sep 00:54 android-5.1.tar.bzip2-no-repo.7z.002Ah, is the two separate documents.I'll drink
7z is an open source compression software. The compression ratio is higher than that of WinRAR. I will not talk about the use of windows, but now I will talk about its use in Linux.
First of all, download the Linux version of 7z, but on Linux, The 7z is called p7zip rather than 7z
Today, I found a document and downloaded it online. Is a 7z compressed package, more than 70 m. After I decompress the package with WinRAR, I found that there were more than 600 m. I was surprised that the compression ratio was so high. No. I need to know why the 7z format is so compressed. First of all, I use WinRAR t
. Empty path means a temporary directory-x[r[-|0]]]{@listfile |! Wildcard}: EXclude filenames-y:assume Yes on all queriesInstructions for use in Chinese are as follows:Grammar7z 7z File name > | Expressions within square brackets (the characters between "[" and "]") are optional. '? 2 k0 k/m* F. q$ C4 HThe expression in the title number (the character between "An expressionexpression1 | expression2 | ... | expressionn* r-s: |-p/n M9 CCommand lines and
Tar, 7z (7zip) compression/Decompression command, 7z7zip
This document describes how to use tar and 7z commands.Tar command
In Linux, the most commonly used compression/Decompression command is the tar command.
The tar command is used to package the structure of multiple files/directories. In actual use, tar is often used to support compression, that is, two steps of packaging and compression are performed
Currently, there are a lot of compression software, but WinRAR has won everyone's favor for its small and practical use. However, this software has a lot of practical skills. Using them can make us get twice the result with half the effort.
1. Create a self-extracting File
If you use WinRAR to compress files, and your friends do not use WinRAR, your data must be
Now a lot of compression software, but winrar with its compact, practical win everyone's favorite. However, this software has a lot of practical skills. Using them, we can really do more with less.
1. Make self-extracting file
If you use WinRAR to compress files, and your friends do not use WinRAR, your data must be compressed before you can give it to him. At th
, you can create an auto-release (SFX) compressed file.-Integrated Windows Shell Extension-Powerful File Management-Powerful command line version-Far manager plug-in supported-63 languages supported7-Zip is applicable to Windows 98/ME/NT/2000/XP/2003. 7-Zip with command line versions for Linux and Unix platforms.The 7-Zip software is released under the GNU Secondary Public License Agreement (Lesser General Public License) and is completely free of charge.
[2] use 7-Zip instead of
what function does WinRAR have? WinRAR is a powerful compression package manager, WinRAR can backup our daily data, we can download from the Internet compressed package file to extract, but also can be some of our files to compress, thereby reducing the size of e-mail attachments.
Advantages and Characteristics:
*
CentOS installation 7z
7z is an open source compression software. The compression ratio is high. It is easy to use a client in Windows. For use in Linux, installation is required.
First, download the 7z linux version, which is p7zip in linux and sourceforge.
Wget http://downloads.sourceforge.net/project/p7zip/p7zip/9.13/p7zip_9.13_src_all.tar.bz2? R = http % 3A %
———————————————. rarDecompression: rar a Filename.rarCompression: RAR e Filename.rar———————————————. LhaDecompression: Lha-e Filename.lhaCompression: Lha-a Filename.lha FileNameUse of the 7z command 1. Extract 7z files 7za x phpmyadmin-3.3.8.1-all-languages.7z-r-o./Parameter meaning:x represents the extracted file and is extracted by the original directory tree (
When writing a lot of tools, the 7z command may be used to compress and decompress the operation. Here are two more commonly used operations: compression, decompression. Enter the 7z command in the DOS window to display the details of the 7z usage parameters:
7-zip 9.10 Beta Copyright (c) 1999-2009 Igor Pavlov 2009-12-22
usage:
In the Linux operating system, the compression and decompressing of the *. zip, *. tar, * .tar.gz, * .tar.bz2, *. tar. xz, *. jar, and * .7z formats are as follows: .tar.gz.tar.bz2Zip Format
Compression: zip-r folder target file name. zip [original file/directory name] unzip: unzip folder original file name. zip
Note: The-r parameter indicates recursion.Tar format (this format is only packaged, not compressed)
Package: tar-cvf release target file name
[Go]ubuntu Linux installation. 7z Unzip and compress fileshttp://blog.csdn.net/zqlovlg/article/details/8033456Installation method: sudo apt-get install p7zipUnzip the file: 7z x manager.7z-r-o/home/xxThe explanations are as follows:x represents the extracted files, and is extracted according to the original directory (there is also a parameter e is the decompress
Open the Software Sharing Center, search 7z, install.Or at the terminal sudo apt-get install P7zip-fullDescription: (from Baidu)7-zip is an open source software, most of the source code follows the GNU LGPL license, using 7-zip software, without registration, free, is the real meaning of the "open" You can use 7-zip on any computer, including computers that are used for commercial purposes, and do not donate or pay 7-zip without prejudice to your use.
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.