How to Extract rar files in Linux

RAR is a proprietary compression format widely used today. It’s supposedly has 30% higher compression rate when compared with WinZip. If you download large torrent then chances are you are are already well acquainted with RAR.


I use RAR on my Windows and Linux boxes everyday and today I’ll show you how to extract RAR files from the Linux command line.

In Linux, to extract a RAR file you would use the unrar command. The unrar binaries are typically not included with the default Linux install so you will have to install them either through the package manager or by downloading binaries from rarlab.com


Let’s get to the HowTo now,



Extract a RAR file into the curren directory.

# unrar e [filename].rar



Extract a RAR file with the full file path.

# unrar x [filename].rar



List contents of a RAR file

# unrar l [filename].rar


Test intergruty of a RAR file

# unrar t [filename].rar

0 comments: