In computing, RAR is a proprietary archive file format that supports data compression, error recovery, and file spanning. It was developed by a Russian software engineer, Eugene Roshal (hence the name RAR: R oshal AR chive), and is currently licensed by win.rar GmbH .
The filename extension used by RAR is .rar for the data volume set and .rev for the recovery volume set. In previous versions, if a RAR-archive was broken into many smaller files (a "multi-volume archive"), then the smaller files used the extensions .rar , .r00 , .r01 , .r02 etc.
Version 1 and 2 archive files were often used in conjunction with a parchive file archiver to create parity files for error recovery when using less-than-perfect file transmission and storage media such as newsgroups, satellite transmission, and optical discs. Version 3 has eliminated the need for third party post-processing.
Compression algorithm
Version 3 of RAR is based on Lempel-Ziv and prediction by partial matching (PPM) compression, specifically the PPMd implementation of PPMII by Dmitry Shkarin.
Versions
Several versions of the RAR format have been noted by third party developers:
- RAR (original)
- RAR2
- RAR3 (current) – implemented by developers of Rarlab WinRAR version 2.9 and released in WinRAR version 3.00. Many changes including:
- File extensions changed from {volume name}.rar, {volume name}.r00, {volume name}.r01, etc. to {volume name}.part001.rar, {volume name}.part002.rar, etc.
- Encryption algorithm is changed to AES (Advanced Encryption Standard) with 128 bit key length.
- Encryption of both file data and file headers.
- Improved compression algorithm using 4MB dictionary size, Dmitry Shkarin's PPMII algorithm for file data, and selective preprocessing algorithms based on platform and source file type.
- Optional creation of "recovery volumes" (.rev files) with redundancy data which can be used to reconstruct missing files in a volume set.
- Support for archive files larger than 9 GB.
- Support for Unicode names.
Software
RAR files may be created only with commercial software WinRAR, RAR, and software that has permission from the author, Alexander Roshal. RAR for Pocket PC is the only freeware for creating RAR files.
Squeez is commercial software available only for Microsoft Windows that can read and write RAR files. It can write RAR 1.5 and RAR 2.0 files and supports basic encryption.
Third party programs that can only read (unpack) RAR files include: WinZip (Windows), 7-Zip (multiplatform), IZArc (Windows), PeaZip (Windows, Linux), Zipeg (Windows, Mac OS X), ALZip (Windows), along with the free version of unrar (which is available for Linux and FreeBSD). Mac OS X readers include Stuffit Expander, The Unarchiver and Zipeg. Stuffit Expander is also available for Mac OS Classic with RAR support for this platform.
WinRAR
Main article: WinRARWinRAR is commercial software (or 40-day trial) available only for Microsoft Windows. It is the only graphical tool that can write modern RAR files (RAR version 3). WinRAR's command line equivalent, RAR, is also commercial software (or 40-day trial), available for Windows, Linux, Mac OS X, MS-DOS, OS/2 and FreeBSD. Additionally, the unrar tool from the same distributor can be used on the aforementioned platforms to extract RAR files but not to write them.
Roshal created the RAR file format and developed programs for packing and unpacking RAR files, originally for DOS, which were later ported to other platforms. The main Windows version of the archiver, known as WinRAR, is distributed as trialware, requiring payment after 40 days (although it can still be used after this period, albeit with nags); shareware versions of this program are also available for GNU/Linux, Mac OS X, DOS, OS/2, and FreeBSD, though they are all called simply "RAR". RARLAB distributes the source code and binaries for a freeware command-line "unrar" program, although it is not under a free software license. This program can only decompress/extract, not create RAR files.
Other programs
There is a free software decompression library called "unrarlib", licensed under the GPL, based on an old version of unrar with permission from the author Eugene Roshal, but it can only decompress archives created by RAR versions up to 2.x. Archives created by RAR 2.9 and later (which are most RAR archives found today) use a different format which is not supported by the free library.
Stuffit Expander (freeware associated with the paid-for Stuffit compression program) also decodes RAR files.
The open source software archiver 7-Zip uses a proprietary plugin under the free and source-available (but non-free) "unRAR license" for decompression of newer RAR files. Free RAR Extract Frog is a skinable freeware frontend for the Windows unrar DLL. The free software Linux archivers File Roller, Ark, and Xarchiver can use the non-free unrar program to decompress RAR files, if it is found in the system path.
Comparison to other compression algorithms
RAR compression operations are typically slower than compressing the same data with early compression algorithms like ZIP, but with a moderately better rate of compression.
7z's LZMA algorithm reaches higher compression ratio than RAR, except for "multimedia" files like .wav and .bmp files where RAR will switch to specialized routines that outperform LZMA. Other free compression software such as NanoZip and FreeArc usually outperform WinRAR.
For further reading see Compression comparison.
Internet media type
Further information: MIMEApache lists the default Internet media type for RAR files as application/x-rar-compressed .
See also
- List of archive formats
- Comparison of file archivers
References
- ^ a b c The RAR Archiver EULA (End user license agreement) is embedded in installation files -
- ^ Contact to win.rar GmbH
- ^ Christian Scheurer (2006-12-17). "unrarlib FAQ" . http://www.unrarlib.org/faq.html .
- ^ Home of unrarlib - UniquE RAR File Library
- ^ RAR and WinRAR Product Version History
- ^ http://www.speedproject.de/enu/squeez/
- ^ http://www.rarlab.com/rar_add.htm - freeware UnRAR source and binaries download
- ^ http://www.rarlab.com/rar_add.htm
- ^ "WinRAR vs gzip" . http://compressionratings.com/comp.cgi?gzip+1.2.4++WinRAR+3.80+-s%20-m1 .
- ^ "WinRAR vs 7-Zip" . http://compressionratings.com/comp.cgi?7-Zip+9.01a+-mx%20-md48m+7-Zip+9.01a+-mx1%20-md48m+WinRAR+3.80+-s%20-m1+WinRAR+3.80+-s%20-m5 .
- ^ "WinRAR vs NanoZip vs FreeArc" . http://compressionratings.com/comp.cgi?WinRAR+3.80+-s%20-m3+WinRAR+3.80+-s%20-m5+NanoZip+0.07a+-m.5g%20-cD+NanoZip+0.07a+-m.5g%20-cO+FreeArc+0.50a+-m3+FreeArc+0.50a+-m6 .
File Extension RAR
Everything you need to know about file extensions. Detailed articles on most popular file extensions on your computer.
File Extension Rar
File Extension Rar: RAR is one of the many file formats that exists today that is used for the purpose of file compression (also known as archiving), the standard method for taking ...
File extension RAR
File extension RAR is used to denote a compressed archive using the proprietary RAR archiving format, which supports data compression, spanning and error recovery.
File extension RAR - WinRAR compressed archive
Description of file extension RAR - WinRAR compressed archive. Links to associated applications and additional info - how to open and convert this file type.
File Extension RAR
File Extension RAR. Information, tips and instructions. File Extension RAR. Most frequent use of this extension is to store compressed information archived using RAR format.
File Extension .RAR Details
Details for file extension: RAR - WinRAR Compressed Archive (RarLab) - Spanned archives can come in two forms: the original .R00 to .R99 or the new PART#.RAR form. Some programs ...
RAR File Extension - Open .RAR files
Definition of the RAR file extension and the associated file type.
File Extension RAR
Cannot open File Extension RAR? Find help to choose the appropriate program for RAR files in Microsoft Windows and Linux. Fix file association errors.
File extension RAR
文件扩展名的rar是指压缩存档使用专有的rar存档格式,它支持数据压缩,跨越和错误恢复。虽然不太常见 ...
.RAR - information on Extension Informer.
WinZip WinZip File: Visit WinZip main site and learn how to compress and send files in a minute!