Follow yourusername on Twitter

How to Open / Extract RAR Files within Linux
Monday, 09 May 2011 16:05

To extract or open RAR files within Linux the unrar binary is used. Below provides the installation and basic operational syntax for the unrar program.

1. Installation

1.1 REDHAT

yum install unrar

1.2 UBUNTU

apt-get install unrar
2. Basic Syntax

To extract a RAR file the following syntax is used:

unrar e contents.rar
3. Example
root@bt:~/Desktop/Downloads/Training# unrar e operating-system.rar

UNRAR 3.90 beta 2 freeware      Copyright (c) 1993-2009 Alexander Roshal

Extracting from operating-system.rar

Extracting  os-6798-0.swf                                         OK
Extracting  os-6798-1.swf                                         OK



 

Secured by Incapsula