请输入您要查询的百科知识:

 

词条 7-Zip
释义

  1. Formats

     7z  Others 

  2. File manager

  3. Software development kit

  4. Variants

  5. Features

  6. Security

  7. Reception and usage

  8. See also

  9. References

  10. External links

{{Use dmy dates|date=June 2014}}{{Infobox Software
| name = 7-Zip
| logo = 7ziplogo.svg
| screenshot = 7-Zip.png
| caption = 7-Zip File Manager on Windows 10
| developer = Igor Pavlov[1]
| released = {{Start date and age|1999|7|19|df=yes}}[2]
| programming language = C++[3]
| operating system = Windows, Linux, macOS, ReactOS[4]
| language count = 86
| language footnote = [5]
| language =

Afrikaans, Albanian, Arabic, Aragonese, Armenian, Asturian, Azerbaijani, Bangla, Bashkir, Basque, Belarusian, Breton, Bulgarian, Catalan, Chinese Simplified, Chinese Traditional, Corsican, Croatian, Czech, Danish, Dutch, English, Esperanto, Estonian, Extremaduran, Farsi, Finnish, French, Frisian, Friulian, Galician, Georgian, German, Greek, Gujarati, Indian, Hebrew, Hindi, Indian, Hungarian, Icelandic, Ido, Indonesian, Irish, Italian, Japanese, Karakalpak Latin, Kazakh, Korean, Kurdish Sorani, Kurdish, Kyrgyz, Latvian, Ligurian, Lithuanian, Macedonian, Malay, Marathi, Mongolian, Nepali, Norwegian Bokmal, Norwegian Nynorsk, Pashto, Polish, Portuguese Brazilian, Portuguese Portugal, Punjabi, Indian, Romanian, Russian, Sanskrit, Indian, Serbian Cyrillic, Serbian Latin, Sinhala, Vietnam ,Slovak, Slovenian, Spanish, Swedish, Tamil, Tatar, Thai, Turkish, Ukrainian, Uyghur, Uzbek, Valencian, Vietnamese, Welsh, Yoruba

These translations are partial and for the user interface only. Help and documentations are in English.


| size = 1.1–1.7 MB[6]
| genre = File archiver
| license = GNU LGPLv2.1+ with unRAR restriction[7] / LZMA SDK in the public domain[8]
}}7-Zip is a free and open-source file archiver, a utility used to place groups of files within compressed containers known as "archives". It is developed by Igor Pavlov and was first released in 1999.[2] 7-Zip uses its own 7z archive format, but can read and write several other archive formats. The program can be used from a command-line interface as the command p7zip,[8] or through a graphical user interface that also features shell integration. Most of the 7-Zip source code is under the GNU LGPL license; the unRAR code, however, is under the GNU LGPL with an "unRAR restriction", which states that developers are not permitted to use the code to reverse-engineer the RAR compression algorithm.[9][10]

Formats

7z

{{Main|7z (file format)}}

By default, 7-Zip creates 7z-format archives with a .7z file extension. Each archive can contain multiple directories and files. As a container format, security or size reduction are achieved using a stacked combination of filters. These can consist of pre-processors, compression algorithms, and encryption filters.

The core 7z compression uses a variety of algorithms, the most common of which are bzip2, PPMd, LZMA2, and LZMA. Developed by Pavlov, LZMA is a relatively new system, making its debut as part of the 7z format. LZMA uses an LZ-based sliding dictionary of up to 4 GB in size, backed by a range coder.[11]

The native 7z file format is open and modular. File names are stored as Unicode.[12]

In 2011, TopTenReviews found that the 7z compression was at least 17% better than ZIP,[13] and 7-Zip's own site has since 2002 reported that while compression ratio results are very dependent upon the data used for the tests, "Usually, 7-Zip compresses to 7z format 30–70% better than to zip format, and 7-Zip compresses to zip format 2–10% better than most other zip-compatible programs."[14]

The 7z file format specification is distributed with the program's source code, in the "doc" subdirectory.

Others

7-Zip supports a number of other compression and non-compression archive formats (both for packing and unpacking), including ZIP, Gzip, bzip2, xz, tar and WIM. The utility also supports unpacking APM, ARJ, CHM, cpio, DEB, FLV, JAR, LHA/LZH, LZMA, MSLZ, Office Open XML, onepkg, RAR, RPM, smzip, SWF, XAR, and Z archives and CramFS, DMG, FAT, HFS, ISO, MBR, NTFS, SquashFS, UDF, and VHD disk images. 7-Zip supports the ZIPX format for unpacking only. It has had this support since at least version 9.20, which was released in late 2010.

7-Zip can open some MSI files, allowing access to the meta-files within along with the main contents. Some Microsoft CAB (LZX compression) and NSIS (LZMA) installer formats can be opened. Similarly, some Microsoft executable programs (.EXEs) that are self-extracting archives or otherwise contain archived content (e.g., some setup files) may be opened as archives.

When compressing ZIP or gzip files, 7-Zip uses its own DEFLATE encoder, which may achieve higher compression, but at lower speed, than the more common zlib DEFLATE implementation. The 7-Zip deflate encoder implementation is available separately as part of the AdvanceCOMP suite of tools.

The decompression engine for RAR archives was developed using freely available source code of the unRAR program, which has a licensing restriction against creation of a RAR compressor. 7-Zip v15.06 and later support extraction of files in the RAR5 format.[15] Some backup systems use formats supported by archiving programs such as 7-Zip; e.g., some Android backups are in tar format, and can be extracted by archivers such as 7-Zip.[16]

File manager

7-Zip comes with a file manager along with the standard archiver tools. The file manager has a toolbar with options to create an archive, extract an archive, test an archive to detect errors, copy, move, and delete files, and open a file properties menu exclusive to 7-Zip. The file manager, by default, displays hidden files because it does not follow Windows Explorer's policies. The tabs show name, modification time, original and compressed sizes, attributes, and comments (4DOS descript.ion format).

When going up one directory on the root, all drives, removable or internal appear. Going up again shows a list with four options:

  • Computer: loads the drives list
  • Documents: loads user's documents, usually at %UserProfile%\\My Documents
  • Network: loads a list of all network clients connected
  • \\\\.: Same as "Computer" except loads the drives in low-level NTFS access. This results in critical drive files and deleted files still existing on the drive to appear. (NOTE: Access to the active partition in low-level mode is not allowed for currently unknown reasons.)

Software development kit

7-Zip has a LZMA SDK which was originally dual-licensed under both the GNU LGPL and Common Public License,[17] with an additional special exception for linked binaries. In December 2, 2008 the SDK was placed by Igor Pavlov in the public domain.[18]

Variants

Two command-line versions are provided: 7z.exe, using external libraries; and a standalone executable 7za.exe, containing built-in modules, but with compression/decompression support limited to 7z, ZIP, gzip, bzip2, Z and tar formats. A 64-bit version is available, with support for large memory maps, leading to faster compression. All versions support multi-threading.

The 7za.exe version of 7-Zip is available for Unix-like operating systems (including Linux, FreeBSD, and macOS), FreeDOS, OpenVMS, AmigaOS 4, and MorphOS under the name p7zip, also developed and maintained by Pavlov (7-Zip).[8]

Features

7-Zip supports:

  • The 256-bit AES cipher. Encryption can be enabled for both files and the 7z hierarchy. When the hierarchy is encrypted, users are required to supply a password to see the filenames contained within the archive. WinZip-developed Zip file AES encryption standard is also available in 7-Zip to encrypt ZIP archives with AES 256-bit, but it does not offer filename encryption as in 7z archives.[19]
  • Volumes of dynamically variable sizes, allowing use for backups on removable media such as writable CDs and DVDs
  • Usability as a basic orthodox file manager when used in dual panel mode
  • Multiple-core CPU threading[20]
  • Opening EXE files as archives, allowing the decompression of data from inside many "Setup" or "Installer" or "Extract" type programs without having to launch them
  • Unpacking archives with corrupted filenames, renaming the files as required
  • Create self-extracting single-volume archives
  • Command-line interface[21]
  • Graphical user interface. The Windows version comes with its own GUI; however, p7zip uses the GUI of the Unix/Linux Archive Manager.[22]

7-zip does not provide a way to control the file order inside archives. It ignores file name order in command line. Consequently, 7-zip is not usable in cases where the order of file names is important. For example, the EPUB format, which is based on Zip and HTML formats, requires a certain order of the files in archives: a file named "mimetype" must be the first file in the ZIP archive.

Security

Self-extracting archives (including the executable installer of 7-Zip itself) are vulnerable to arbitrary code execution through DLL hijacking: they load and run a DLL named UXTheme.dll, if it is in the same folder as the executable file.[23][24][25] 7-Zip 16.03 Release notes say that the installer and SFX modules have added protection against DLL preloading attack.[26]

Versions of 7-Zip prior to 18.05 contain an arbitrary code execution vulnerability in the module for extracting files from RAR archives (CVE-2018-10115), a vulnerability that was fixed on 30 April 2018.[27]

Reception and usage

Snapfiles.com in 2012 rated 7-Zip 4.5 stars out of 5, noting, "[its] interface and additional features are fairly basic, but the compression ratio is outstanding".[28]

On TechRepublic in 2009, Justin James found the detailed settings for Windows File Manager integration were "appreciated" and called the compression-decompression benchmark utility "neat". And though the archive dialog has settings that "will confound most users", he concluded: "7-Zip fits a nice niche in between the built-in Windows capabilities and the features of the paid products, and it is able to handle a large variety of file formats in the process."[29]

Between 2002 and 2016, 7-Zip was downloaded 410 million times from SourceForge alone.[30]

The software has received awards. In 2007, SourceForge.net granted it community choice awards for "Technical Design" and for "Best Project".[31] In 2013, 7-Zip received Tom's Hardware Elite award due to superiority in speed and compression ratio.[32]

See also

{{Portal|Free and open-source software}}
  • Comparison of archive formats
  • Comparison of file archivers
  • List of archive formats

References

1. ^{{cite web |url=http://www.ddj.com/architect/184405338 |title=A Few Questions for Igor Pavlov |date=2003-04-30 |publisher=Dr. Dobb's Data Compression Newsletter |accessdate=2009-12-26}}
2. ^{{cite web |url=https://www.7-zip.org/history.txt |title=History of 7-zip changes |publisher =7-Zip |date=30 December 2018 |accessdate=30 December 2018}}
3. ^{{cite web | url =https://sourceforge.net/projects/sevenzip/ | title =P7ZIP SourceForge |date= January 2016 | website=SourceForge.net | accessdate =2016-03-07 }}
4. ^{{cite web | url =https://www.reactos.org/wiki/Tests_for_0.4.11 | title = Tests for ReactOS 0.4.11}}
5. ^Options... dialog box of 7-Zip for Windows 16.00
6. ^{{cite web|title=7-Zip - Browse /7-Zip/16.00|url=https://sourceforge.net/projects/sevenzip/files/7-Zip/16.00/|website=SourceForge.net|publisher=Slashdot Media|accessdate=12 May 2016|date=10 April 2016}}
7. ^{{cite web | url=http://www.7-zip.org/license.txt | title=7-Zip License for use and distribution | last=Pavlov | first=Igor |website=7-zip.org/ | year=2010 | accessdate=2010-04-16 | archiveurl= https://web.archive.org/web/20100410171656/http://www.7-zip.org/license.txt| archivedate= 10 April 2010 | deadurl= no}}
8. ^{{cite web | url =http://p7zip.sourceforge.net/ | title =P7ZIP |date= February 2009 | website =SourceForge.net | accessdate =2010-04-16 }}
9. ^{{Cite web|url=https://www.7-zip.org/|title=7-Zip|last=Pavlov|first=Igor|date=|website=7-zip.org|archive-url=|archive-date=|dead-url=|access-date=31 October 2012}}
10. ^{{Cite web|url=https://www.7-zip.org/license.txt|title=7-Zip – License for use and distribution|last=Pavlov|first=Igor|date=|website=7-zip.org|archive-url=|archive-date=|dead-url=|access-date=31 October 2012}}
11. ^{{cite web|last=Diaz|first=Antonio Diaz |title=Lzip|url=http://lzip.nongnu.org/lzip.html |website=LZip.NonGNU.org |accessdate=29 July 2010| archiveurl= https://web.archive.org/web/20100729135045/http://lzip.nongnu.org/lzip.html| archivedate= 29 July 2010 | deadurl= no}}
12. ^{{cite web|url=https://www.7-zip.org/7z.html|title=7z Format|author=Pavlov|first=Igor|date=|website=7-zip.org|archive-url=|archive-date=|dead-url=|accessdate=16 April 2017}}
13. ^{{cite web|url=http://file-compression-software-review.toptenreviews.com/7-zip-review.html|title=7-Zip 2011 – TopTenREVIEWS|archiveurl=https://web.archive.org/web/20121025200631/http://file-compression-software-review.toptenreviews.com/7-zip-review.html|archivedate=25 October 2012}}
14. ^{{cite web|url=http://www.7-zip.org/ |title=7-Zip (home page) |archiveurl=https://web.archive.org/web/20020121054121/http://www.7-zip.org/ |archivedate=21 January 2002 |deadurl=no |website=7-zip.org |date= |author=Igor Pavlov }} Statement on compression performance very similar in January 2002 and April 2017.
15. ^{{cite web|last1=Pavlov|first1=Igor|title=7-Zip 15.06 beta release notes|url=http://sourceforge.net/p/sevenzip/discussion/45797/thread/c611394e/#1783}}
16. ^{{cite web|url=https://ajqi.com/how-to-extract-files-from-a-nandroid-backup/|title=How to extract files from a Nandroid Backup|author=Vijay|first=|date=11 May 2013|website=AJQI|archive-url=|archive-date=|dead-url=|accessdate=16 April 2017}}
17. ^{{cite web | url = http://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/4.23/ | title = Browse /LZMA SDK/4.23 | accessdate = 2014-02-12 | publisher = Sourceforge}}
18. ^{{cite web|url=https://www.7-zip.org/sdk.html|title=LZMA SDK (Software Development Kit)|author=Pavlov|first=Igor|date=|year=2013|website=|archive-url=|archive-date=|dead-url=|accessdate=16 June 2013}}
19. ^{{Cite web|url=https://www.winzip.com/aes_info.htm|title=AES Encryption Information: Encryption Specification AE-1 and AE-2|last=|first=|date=30 January 2009|website=WinZip|archive-url=|archive-date=|dead-url=|access-date=}}
20. ^{{cite web|last1=Atwood|first1=Jeff|title=File Compression in the Multi-Core Era|url=https://blog.codinghorror.com/file-compression-in-the-multi-core-era/|website=Coding Horror|accessdate=4 August 2017}}
21. ^[https://sevenzip.osdn.jp/chm/cmdline/syntax.htm "Command Line Syntax"]. sevenzip.osdn.jp.
22. ^{{cite web|url=https://ubuntuforums.org/archive/index.php/t-782897.html|title=[ubuntu] GUI front end for 7-zip? [Archive] - Ubuntu Forums|website=ubuntuforums.org}}
23. ^{{cite web|last1=Kanthak|first1=Stefan|title=Executable installers are vulnerable^WEVIL (case 7): 7z*.exe allows remote code execution with escalation of privilege|url=http://seclists.org/fulldisclosure/2015/Dec/34|website=SecLists.org|date=8 December 2015}}
24. ^{{cite web|last1=Kanthak|first1=Stefan|title=Executable installers are vulnerable^WEVIL (case 14): Rapid7's ScanNowUPnP.exe allows arbitrary (remote) code execution|url=http://seclists.org/fulldisclosure/2015/Dec/90|website=SecLists.org|date=22 December 2015}}
25. ^{{cite web|last1=Hart|first1=Jon|title=ScanNow DLL Search Order Hijacking Vulnerability and Deprecation|url=https://community.rapid7.com/community/infosec/blog/2015/12/21/scannow-dll-search-order-hijacking-vulnerability-and-deprecation|website=Rapid7.com|date=21 December 2015}}
26. ^{{cite web|url=https://www.7-zip.org/history.txt|title=HISTORY of the 7-Zip|author=|first=|date=28 September 2016|website=7-zip.org|archive-url=|archive-date=|dead-url=|accessdate=29 September 2016}}
27. ^{{cite web|url=https://www.cisecurity.org/advisory/a-vulnerability-in-7-zip-could-allow-for-arbitrary-code-execution_2018-049/|title=A Vulnerability in 7-Zip Could Allow for Arbitrary Code Execution|website=cisecurity.org|date=2018-05-01}}
28. ^{{cite web|title=7-Zip file compression tool |publisher=WebAttack |work=Snapfiles.com |url=http://www.snapfiles.com/get/7zip.html |accessdate=2012-10-12}}
29. ^{{cite web|url=https://www.techrepublic.com/blog/product-spotlight/review-7-zip-file-compression-application/|title=Review: 7-Zip file compression application|last=James|first=Justin|date=10 November 2009|website=TechRepublic|pages=1–2|archive-url=|archive-date=|dead-url=|access-date=}}
30. ^[https://sourceforge.net/projects/sevenzip/files/stats/timeline?dates=2001-07-20+to+2016-07-26 7-zip file download stats] on Sourceforge.net (July 2016)
31. ^{{cite web|url=https://sourceforge.net/blog/cca07/|title=SourceForge.net: 2007 Community Choice Awards|last=|first=|date=15 June 2007|website=SourceForge|archiveurl=https://web.archive.org/web/20100326163008/http://sourceforge.net/blog/cca07/|archivedate=26 March 2010|deadurl=no|accessdate=16 April 2010}}
32. ^{{cite web|url=https://www.tomshardware.com/reviews/winrar-winzip-7-zip-magicrar,3436-13.html|title=Compression Performance: 7-Zip, MagicRAR, WinRAR, WinZip|last=Masiero|first=Manuel|date=18 March 2013|work=Tom's Hardware|page=And The Undisputed Winner Is...|archive-url=|archive-date=|dead-url=|access-date=}}

External links

{{Commons category|7-Zip}}
  • {{Official website|https://www.7-zip.org/}}
  • {{Sourceforge|sevenzip|7-Zip}}
  • [https://archive.codeplex.com/?p=sevenzipsharp 7-Zip .NET wrapper]
  • [https://portableapps.com/apps/utilities/7-zip_portable 7-Zip Portable] at PortableApps.com
  • 7-Zip Theme Manager
{{Compression software implementations}}{{FOSS}}

12 : 1999 software|Cross-platform free software|Disk image extractors|File archivers|Free data compression software|Free file managers|Free multilingual software|Free software programmed in C|Free software programmed in C++|Portable software|Software using the LGPL license|Windows compression software

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/22 3:48:42