- From
p7zip_*
folder: - Optionally copy
makefile.{OS_arch_compiler}
overmakefile.machine
, e.g. building for macOS needs it. Standard makefile.machine is for Linux systems. - Compile "everything":
make all4
sudo make install
Read makefile.common
to see available make targets. More build instructions in p7zip_*/README
.
No args given, standard 7-zip behavior
7z a archive.7z ...
Fastest mode, no bcj processing
7z a archive.7z -m0=zstd -mx0 ...
Fast mode, bcj processing
7z a archive.7z -m0=zstd -mx1 ...
Slow mode, bcj processing
7z a archive.7z -m0=zstd -mx21 ..
Ultra mode, bcj processing
7z a archive.7z -m0=zstd -mx22 ..
- Original sources for Zstd: https://github.com/Cyan4973/zstd
- Original sources for the 7-zip Zstd plugin:
- Original p7zip sources: http://p7zip.sourceforge.net/