HOME

TheInfoList



OR:

RAR is a proprietary
archive file format In computing, an archive file is a computer file that is composed of one or more files along with metadata. Archive files are used to collect multiple data files together into a single file for easier portability and storage, or simply to compr ...
that supports
data compression In information theory, data compression, source coding, or bit-rate reduction is the process of encoding information using fewer bits than the original representation. Any particular compression is either lossy or lossless. Lossless compression ...
,
error correction In information theory and coding theory with applications in computer science and telecommunication, error detection and correction (EDAC) or error control are techniques that enable reliable delivery of digital data over unreliable communi ...
and
file spanning {{Redir, Binary spanning, the mathematical optimization method, Binary splitting File spanning is the ability to package a single file or data stream into separate files of a specified size. This task implies the ability to re-combine the package ...
. It was developed in 1993 by Russian software engineer
Eugene Roshal Eugene Roshal (russian: Евгений Лазаревич Рошал, translit=Yevgeny Lazarevich Roshal; born 1972) is a Russian software engineer. Career Roshal is best known as the developer of: * RAR file format (1993) * WinRAR file archi ...
and the software is licensed by ''win.rar GmbH''. The name ''RAR'' stands for ''Roshal Archive''.


File format

The
filename extension A filename extension, file name extension or file extension is a suffix to the name of a computer file (e.g., .txt, .docx, .md). The extension indicates a characteristic of the file contents or its intended use. A filename extension is typically d ...
s used by RAR are .rar for the data volume set and .rev for the recovery volume set. Previous versions of RAR split large archives into several smaller files, creating a "multi-volume archive". Numbers were used in the file extensions of the smaller files to keep them in the proper sequence. The first file used the extension .rar, then .r00 for the second, and then .r01, .r02, etc. RAR compression applications and libraries (including GUI based
WinRAR WinRAR is a trialware file archiver utility for Windows, developed by Eugene Roshal of win.rar GmbH. It can create and view archives in RAR or ZIP file formats, and unpack numerous archive file formats. To enable the user to test the integrity ...
application for Windows, console rar utility for different OSes and others) are proprietary software, to which Alexander L. Roshal, the elder brother of
Eugene Roshal Eugene Roshal (russian: Евгений Лазаревич Рошал, translit=Yevgeny Lazarevich Roshal; born 1972) is a Russian software engineer. Career Roshal is best known as the developer of: * RAR file format (1993) * WinRAR file archi ...
, owns the copyright. Version 3 of RAR is based on
Lempel-Ziv LZ77 and LZ78 are the two lossless data compression algorithms published in papers by Abraham Lempel and Jacob Ziv in 1977 and 1978. They are also known as LZ1 and LZ2 respectively. These two algorithms form the basis for many variations includin ...
( LZSS) and
prediction by partial matching Prediction by partial matching (PPM) is an adaptive statistical data compression technique based on context modeling and prediction. PPM models use a set of previous symbols in the uncompressed symbol stream to predict the next symbol in the stre ...
(PPM) compression, specifically the PPMd implementation of PPMII by Dmitry Shkarin. The minimum size of a RAR file is 20 bytes. The maximum size of a RAR file is 9,223,372,036,854,775,807 (263−1) bytes, which is about 9,000 PB.


Versions

The RAR file format revision history: * 1.3 – the first public version, does not have the "Rar!" signature. * 1.5 – changes are not known. * 2.0 – released with WinRAR 2.0 and Rar for MS-DOS 2.0; features the following changes: ** Multimedia compression for true color bitmap images and uncompressed audio. ** Up to 1 MB compression dictionary. ** Introduces archives data recovery protection record. * 2.9WinRAR 5.0 and RAR for Android refer to this format as RAR4. – released in WinRAR version 3.00. Feature changes in this version include: ** File extensions is changed from ''.rar, .r00, .r01, etc.'' to ''.part001.rar, .part002.rar, etc.'' ** Encryption of both file data and file headers. ** Improves compression algorithm using 4 MB dictionary size, Dmitry Shkarin's PPMII algorithm for file data. ** Optional creation of "recovery volumes" (.rev files) for
error correction In information theory and coding theory with applications in computer science and telecommunication, error detection and correction (EDAC) or error control are techniques that enable reliable delivery of digital data over unreliable communi ...
, which can be used to reconstruct missing files in a volume set. ** Support for archive files larger than 9 GB. ** Support for
Unicode Unicode, formally The Unicode Standard,The formal version reference is is an information technology standard for the consistent encoding, representation, and handling of text expressed in most of the world's writing systems. The standard, whic ...
file names stored in
UTF-16 UTF-16 (16-bit Unicode Transformation Format) is a character encoding capable of encoding all 1,112,064 valid code points of Unicode (in fact this number of code points is dictated by the design of UTF-16). The encoding is variable-length, as cod ...
little endian format. * 5.0 – supported by WinRAR 5.0 and later. Changes in this version: ** Maximum compression dictionary size increased to 1 GB (default for WinRAR 5.x is 32 MB and 4 MB for WinRAR 4.x). ** Maximum path length for files in RAR and ZIP archives is increased up to 2048 characters. ** Support for
Unicode Unicode, formally The Unicode Standard,The formal version reference is is an information technology standard for the consistent encoding, representation, and handling of text expressed in most of the world's writing systems. The standard, whic ...
file names stored in
UTF-8 UTF-8 is a variable-length character encoding used for electronic communication. Defined by the Unicode Standard, the name is derived from ''Unicode'' (or ''Universal Coded Character Set'') ''Transformation Format 8-bit''. UTF-8 is capable of e ...
format. ** Faster compression and decompression. ** Multicore decompression support. ** Greatly improves recovery. ** Optional AES encryption increased from 128-bit to 256-bit. ** Optional 256-bit
BLAKE2 BLAKE is a cryptographic hash function based on Daniel J. Bernstein's ChaCha stream cipher, but a permuted copy of the input block, XORed with round constants, is added before each ChaCha round. Like SHA-2, there are two variants differing in the ...
file hash instead of a default 32-bit
CRC32 A cyclic redundancy check (CRC) is an error-detecting code commonly used in digital networks and storage devices to detect accidental changes to digital data. Blocks of data entering these systems get a short ''check value'' attached, based on ...
file checksum. ** Optional duplicate file detection. ** Optional
NTFS New Technology File System (NTFS) is a proprietary journaling file system developed by Microsoft. Starting with Windows NT 3.1, it is the default file system of the Windows NT family. It superseded File Allocation Table (FAT) as the preferred fi ...
hard and symbolic links. ** Optional Quick Open Record. Rar4 archives had to be parsed before opening as file names were spread throughout the archive, slowing operation particularly with slower devices such as optical drives, and reducing the integrity of damaged archives. Rar5 can optionally create a "quick open record", a special archive block at the end of the file that contains the names of files included, allowing archives to be opened faster. ** Removes specialized compression algorithms for Itanium executables, text, raw audio (WAV), and raw image (BMP) files; consequently some files of these types compress better in the older RAR (4) format with these options enabled than in RAR5. ;Notes


Software


Operating system support

Software is available for
Microsoft Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for se ...
(named WinRAR),
Linux Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, which in ...
,
FreeBSD FreeBSD is a free and open-source Unix-like operating system descended from the Berkeley Software Distribution (BSD), which was based on Research Unix. The first version of FreeBSD was released in 1993. In 2005, FreeBSD was the most popular op ...
,
macOS macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and lap ...
, and Android; archive extraction is supported natively in
ChromeOS ChromeOS, sometimes stylized as chromeOS and formerly styled as Chrome OS, is a Linux-based operating system designed by Google. It is derived from the open-source ChromiumOS and uses the Google Chrome web browser as its principal user interfac ...
. WinRAR supports the Windows
graphical user interface The GUI ( "UI" by itself is still usually pronounced . or ), graphical user interface, is a form of user interface that allows User (computing), users to Human–computer interaction, interact with electronic devices through graphical icon (comp ...
(GUI); other versions named RAR run as console commands. Later versions are not compatible with some older operating systems previously supported: *
WinRAR WinRAR is a trialware file archiver utility for Windows, developed by Eugene Roshal of win.rar GmbH. It can create and view archives in RAR or ZIP file formats, and unpack numerous archive file formats. To enable the user to test the integrity ...
v6.10 supports
Windows Vista Windows Vista is a major release of the Windows NT operating system developed by Microsoft. It was the direct successor to Windows XP, which was released five years before, at the time being the longest time span between successive releases of ...
and later. * WinRAR v6.02 is the last version that supports
Windows XP Windows XP is a major release of Microsoft's Windows NT operating system. It was released to manufacturing on August 24, 2001, and later to retail on October 25, 2001. It is a direct upgrade to its predecessors, Windows 2000 for high-end and ...
.WinRAR Release History; RARsoft.
/ref> * WinRAR v4.11 is the last version that supports
Windows 2000 Windows 2000 is a major release of the Windows NT operating system developed by Microsoft and oriented towards businesses. It was the direct successor to Windows NT 4.0, and was released to manufacturing on December 15, 1999, and was officially ...
. * WinRAR v3.93 is the last version that supports
Windows 95 Windows 95 is a consumer-oriented operating system developed by Microsoft as part of its Windows 9x family of operating systems. The first operating system in the 9x family, it is the successor to Windows 3.1x, and was released to manufacturi ...
, 98, ME, and NT 4.0. * WinRAR 2.06 is the last version to support Windows 3.1, Windows NT 3.1, Windows NT 3.5, Windows NT 3.51 and Win32s. * RAR v3.93 is the last version that supports
MS-DOS MS-DOS ( ; acronym for Microsoft Disk Operating System, also known as Microsoft DOS) is an operating system for x86-based personal computers mostly developed by Microsoft. Collectively, MS-DOS, its rebranding as IBM PC DOS, and a few oper ...
and
OS/2 OS/2 (Operating System/2) is a series of computer operating systems, initially created by Microsoft and IBM under the leadership of IBM software designer Ed Iacobucci. As a result of a feud between the two companies over how to position OS/2 re ...
on 32-bit
x86 x86 (also known as 80x86 or the 8086 family) is a family of complex instruction set computer (CISC) instruction set architectures initially developed by Intel based on the Intel 8086 microprocessor and its 8088 variant. The 8086 was int ...
CPUs such as 80386 and later. It supports long file names in a Windows DOS box (except Windows NT), and uses the RSX DPMI extender. * RAR v2.50 is the last version that supports MS-DOS and OS/2 on 16-bit x86 CPUs such as
Intel 8086 The 8086 (also called iAPX 86) is a 16-bit microprocessor chip designed by Intel between early 1976 and June 8, 1978, when it was released. The Intel 8088, released July 1, 1979, is a slightly modified chip with an external 8-bit data bus (allow ...
,
8088 The Intel 8088 ("''eighty-eighty-eight''", also called iAPX 88) microprocessor is a variant of the Intel 8086. Introduced on June 1, 1979, the 8088 has an eight-bit external data bus instead of the 16-bit bus of the 8086. The 16-bit registers and ...
, and
80286 The Intel 80286 (also marketed as the iAPX 286 and often called Intel 286) is a 16-bit microprocessor that was introduced on February 1, 1982. It was the first 8086-based CPU with separate, non- multiplexed address and data buses and also the ...
.


Creating RAR files

RAR files can be created only with commercial software
WinRAR WinRAR is a trialware file archiver utility for Windows, developed by Eugene Roshal of win.rar GmbH. It can create and view archives in RAR or ZIP file formats, and unpack numerous archive file formats. To enable the user to test the integrity ...
(Windows), RAR for Android, command-line RAR (Windows, MS-DOS, macOS, Linux, and FreeBSD), and other software that has written permission from Alexander Roshal or uses copyrighted code under license from Roshal. The software license agreements forbid reverse engineering.


Third-party software for extracting RAR files

Several programs can unpack the file format. * RARLAB distributes the
C++ C, or c, is the third letter in the Latin alphabet, used in the modern English alphabet, the alphabets of other western European languages and others worldwide. Its name in English is ''cee'' (pronounced ), plural ''cees''. History "C" ...
source code and binaries for a command-line unrar program. The license permits its use to produce software capable of unpacking, but not creating, RAR archives, without having to pay a fee. It is not a
free software Free software or libre software is computer software distributed under terms that allow users to run the software for any purpose as well as to study, change, and distribute it and any adapted versions. Free software is a matter of liberty, no ...
license. *
7-Zip 7-Zip is a free and open-source file archiver, a utility used to place groups of files within compressed containers known as "archives". It is developed by Igor Pavlov and was first released in 1999. 7-Zip has its own archive format called 7z, ...
, a
free and open-source Free and open-source software (FOSS) is a term used to refer to groups of software consisting of both free software and open-source software where anyone is freely licensed to use, copy, study, and change the software in any way, and the source ...
program, starting from 7-Zip version 15.06 beta can unpack RAR5 archives, using the RARLAB unrar code. *
PeaZip PeaZip is a free and open-source file manager and file archiver for Microsoft Windows, ReactOS, Linux, MacOS and BSD made by Giorgio Tani. It supports its native PEA archive format (featuring compression, multi volume split and flexible authen ...
is a free RAR unarchiver, licensed under the
LGPL The GNU Lesser General Public License (LGPL) is a free-software license published by the Free Software Foundation (FSF). The license allows developers and companies to use and integrate a software component released under the LGPL into their ow ...
, it runs as a RAR extractor on Linux, macOS, and Windows, with a GUI. PeaZip supports both pre-RAR5 .rar files, and files in the new RAR5 format. * The Unarchiver is a proprietary software unarchiver for RAR and other formats. It runs on macOS, and the command-line version, , also runs on Windows and on Linux, and is
free software Free software or libre software is computer software distributed under terms that allow users to run the software for any purpose as well as to study, change, and distribute it and any adapted versions. Free software is a matter of liberty, no ...
licensed under the
LGPL The GNU Lesser General Public License (LGPL) is a free-software license published by the Free Software Foundation (FSF). The license allows developers and companies to use and integrate a software component released under the LGPL into their ow ...
. It supports all versions of the RAR archive format, including RAR3 and RAR5.The Unarchiver Website
contains unar. Accessed 5 February 2013.
* UNRARLIB (UniquE RAR File Library) was an obsolete free software unarchiving library called "unrarlib", licensed under the
GPL The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end users the four freedoms to run, study, share, and modify the software. The license was the first copyleft for general u ...
. It could only decompress archives created by RAR versions prior to 2.9; archives created by RAR 2.9 and later use different formats not supported by this library. The original development-team ended work on this library in 2007. * libarchive, a free and open source library for reading and writing a variety of archive formats, supports all RAR versions including RAR5. The code was written from scratch using RAR's "technote.txt" format description.


Other uses of ''rar''

The filename extension ''rar'' is also used by the unrelated Resource Adapter Archive file format.


See also

* .cbr *
List of archive formats This is a list of file formats used by archivers and compressors used to create archive files. Archiving only Compression only Archiving and compression Data recovery Comparison Containers and compression Notes While the original ...
* Comparison of archive formats * Comparison of file archivers *
Data corruption In the pursuit of knowledge, data (; ) is a collection of discrete values that convey information, describing quantity, quality, fact, statistics, other basic units of meaning, or simply sequences of symbols that may be further interpreted. ...
, Bit rot,
Disc rot Disc rot is the tendency of CD, DVD, or other optical discs to become unreadable because of physical or chemical deterioration. The causes include oxidation of the reflective layer, physical scuffing and abrasion of disc, reactions with contaminan ...


References


External links

*
RARLAB FTP download website
current and old versions of WinRAR and RAR

{{DEFAULTSORT:Rar Computer-related introductions in 1993 Archive formats Russian inventions