「7-Zip」- a file archiver with a high compression ratio

认识

官网:https://www.7-zip.org/
文档:
仓库:https://sourceforge.net/projects/sevenzip/

7-Zip is a file archiver with a high compression ratio. 简而言之,7-Zip 是个文件归档程序,既有自己的 7z 格式,又支持处理其他格式的归档文件。

组成

WIP

性质

The main features of 7-Zip

High compression ratio in 7z format with LZMA and LZMA2 compression

Supported formats:

  • Packing / unpacking: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM
  • Unpacking only: APFS, AR, ARJ, CAB, CHM, CPIO, CramFS, DMG, EXT, FAT, GPT, HFS, IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, QCOW2, RAR, RPM, SquashFS, UDF, UEFI, VDI, VHD, VHDX, VMDK, XAR and Z.

For ZIP and GZIP formats, 7-Zip provides a compression ratio that is 2-10 % better than the ratio provided by PKZip and WinZip

Strong AES-256 encryption in 7z and ZIP formats

Self-extracting capability for 7z format

Integration with Windows Shell

Powerful File Manager

Powerful command line version

Plugin for FAR Manager

Localizations for 87 languages

构建

j7zip – a JAVA port of 7zr.exe

http://p7zip.sourceforge.net
https://github.com/jamel/j7zip

p7zip – the Unix command-line port of 7-Zip

http://p7zip.sourceforge.net/

7z and 7za file archivers with high compression ratio

p7zip is the Unix command-line port of 7-Zip, a file archiver that
handles the 7z format which features very high compression ratios.

p7zip-full provides utilities to pack and unpack 7z archives within
a shell or using a GUI (such as Ark, File Roller or Nautilus).

Installing p7zip-full allows File Roller to use the very efficient 7z
compression format for packing and unpacking files and directories.
Additionally, it provides the 7z and 7za commands.
.
List of supported formats:
– Packing / unpacking: 7z, ZIP, GZIP, BZIP2, XZ and TAR
– Unpacking only: APM, ARJ, CAB, CHM, CPIO, CramFS, DEB, DMG, FAT,

HFS, ISO, LZH, LZMA, LZMA2, MBR, MSI, MSLZ, NSIS, NTFS, RAR (only

if non-free p7zip-rar package is installed), RPM, SquashFS, UDF,

VHD, WIM, XAR and Z.

.

The dependent package, p7zip, provides 7zr, a light version of 7za,

and p7zip, a gzip-like wrapper around 7zr.

从仓库中安装

#!/bin/sh

# Kali GNU/Linux Rolling
apt-get install p7zip p7zip-full

# p7zip 的 rar 模块,可以用于解压 rar 文件
apt-get install p7zip-rar

可执行程序

p7zip:
7zr,是命令 7za 的轻量版本,只能处理 7z、LZMA2、XZ 格式;
p7zip,7-Zip 的 CLI 包装脚本,类似 gzip,只处理 7z 格式(7-Zip 的原生格式),在内部执行 7za(1)或 7zr(1)命令;

p7zip-full:
7z,该命令使用插件处理归档文件,所以比 7za 可能会慢一点,但是可以处理更多的格式;
7za,独立的可执行程序,处理的格式要比 7z 少;