Source files: Rar* files carry the unRAR restriction, LZFSE and ZSTD decoders are BSD 3-clause, XXH64 is BSD 2-clause, unlabelled files default to GNU LGPL
Catalog row in Vendor License Rules · Cited
- Kind
- Definition
- Statement
- 7-Zip source code License.txt (undated; as published on 2026-09-27): CPP/7zip/Compress/Rar* files are under the GNU LGPL with the unRAR licence restriction; CPP/7zip/Compress/LzfseDecoder.cpp and C/ZstdDec.c are under the BSD 3-clause licence; C/Xxh64.c is under the BSD 2-clause licence; files that state public-domain status are public domain; all other files, including files without licence information, are under the GNU LGPL. Code under the LGPL with the unRAR restriction must follow both sets of rules.
- Applies when
- Building, modifying or scanning the 7-Zip source tree.
- Applies to
- 7-Zip source code (26.03), including CPP/7zip/Compress/Rar*, CPP/7zip/Compress/LzfseDecoder.cpp, C/ZstdDec.c and C/Xxh64.c.
- Related programs