popular file archiving
introduced for WinRAR (Eugene
Roshal, 1995), a file archiver utility released for Microsoft Windows
systems only. RAR compression is based on Lempel-Ziv LZSS and
by partial matching PPMd/PPMII
(Dmitry Shkarin), which provides very good compression ratio, almost
comparable with 7Z format.
format also features data
(if optional recovery records are used while creating the archive), and
optional AES based encryption.
"RAR" acronym stands for "Roshal
ARchive", from the surname of
Read more: what is a RAR
PeaZip, freeware and open
source archiver utility, can open and extract
RAR files on Linux and
Windows, using the
Open Source code written by Igor Pavlov in 7-Zip and
its POSIX port p7zip project.
Additionally, PeaZip can automatically
configure itself to use WinRAR's Rar.exe to create RAR files from
PeaZip's own GUI, but only if WinRAR is installed in the system,
as due RarLab's licensing terms for rar format no third parts utility
can distribute a rar creation tool, unless asking RarLab for licensing
alternative Open Source free RAR archiver utility (rar creator) is
as royalty-free and open
software for allowing extraction of RAR archives both on Linux and
Microsoft Windows, but with the clause of not reverse engineering the
implementing RAR compression which prevents development of royalty free
rar archivers & compressors capable to create or add files to said
Consequently, due to RAR's license constrains, no free software can be
natively capable of writing RAR archives (which is required both for
creation, add / update and repairing), unless licensing clause is
circumvented calling (Windows / Wine -only) WinRar's
executable rar.exe itself, that
requires having WinRar (shareware, free for 40 days only) downloaded
installed as a separate product.
engineering clause about the RAR
compression algorithm and code apply as well for any rewritten version,
so no Free Software,
royalty free RAR archiver and compressor can be created under current
licensing terms. In other words, no open source alternative exist to
Please note that WinRar license's time trial legal limitations apply to
any part of the package (as i.e. Rar.exe) as well, even if it does not
warning screen as the main WinRar's GUI executable.
More online resources: RarLab's WinRAR shareware
rar file archiver official
domain, Lempel-Ziv LZSS and prediction
by partial matching PPMd/PPMII
If WinRar is installed in the system, providing the needed rar archives
creation routines, it is possible to create rar files from PeaZip,
which in that way becomes an alternative application for rar
Archive format dropdown menu in PeaZip's compression screen allows to
select "Custom" format, which lets the user select an arbitrary
compressor executable, enter command parameters for it, and to
customize the syntax of the generated script string in order to adapt
to the syntax the compressor is expecting.
"RAR" checkbox in
"Advanced" tab of compression screen will switch automatic support for
This allows using PeaZip GUI
as alternative way to create RAR files: if WinRAR 32 or 64 bit is
installed in the host system PeaZip will display "Custom/RAR" and
autoconfigure itself, by default, to use Rar.exe as compressor.
Due RarLab licensing / distribution terms, it is not possible to
autonomously create archives in RAR format distributing, or creating a
replacement for, Rar.exe, as explained in previous chapter: Rar.exe is
free to use, but it is not free software.
|Set compression to Custom/RAR format
Chose "Custom/RAR" format in
compression dialog, from there is possible to set basic options as
compression level, file spanning, and set password / keyfile.
Following steps will only be necessary if it is needed to customize the
task further, as PeaZip will take care to automatically configure
parameters for Rar.exe syntax.
Set advanced RAR
Go to "Advanced" tab to display more RAR
options: from here is possible to set asdvanced rar compression options
as using the new RAR5
standard ot legacy RAR4, set dictionary size, use BLAKE2 instead of
CRC, create self-extracting rar archive, create solid archive, create
rar recovery records, etc.
rar command line parameters
(OPTIONAL) If it is needed to further configure
rar command line parameters it is possible to go to "Console" tab and
see the actual command line
composed for Rar.exe, to further refine the task beyond GUI's
capabilities, or to save it as CLI script for future use.
Advantage of using PeaZip as frontend for creation of RAR archives is
the possibility to benefit of unique PeaZip features lacking in WinRAR,
in example support for two factor authentication (password + keyfile),
integrated archive conversion tool, secure deletion after archiving,
easy file manager-like interface for composing the archive layout,
ability to see, customize, and save task's command line, etc...
Employing Rar.exe backend allows PeaZip also to edit existing RAR
archives, adding or deleting files, and modifiyng existing files in
Read more about PeaZip command line
Synopsis: How to create
RAR files withing freeware applications. Add files to RAR archives,
compress data to WinRar's RAR4 and RAR5 archive formats with PeaZip
free archiver and compression utility, using RarLabs backend rar
Topics: how to create
PeaZip > FAQ
> Free RAR archiver, compression utility: how to create rar files