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
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,
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少。