Builds can exclude the "not fully free" RAR decompression code with DISABLE_RAR_COMPRESS or all RAR code with DISABLE_RAR
Catalog row in Vendor License Rules · Cited
- Kind
- Compliance
- Statement
- 7-Zip source code readme.txt (26.03; as published on 2026-09-27): RAR decompression codecs carry additional licence restrictions that can be treated as not fully compatible with free-software licences. DISABLE_RAR_COMPRESS=1 removes that code from compilation, after which 7-Zip can list RAR archives and extract only stored (uncompressed) files; DISABLE_RAR=1 removes all RAR-related code.
- Applies when
- A redistributor needs a build free of the unRAR licence restriction.
- Applies to
- Custom builds of 7-Zip from source (for example by Linux distributions or embedded products).
- Related programs