How to Open / Extract RAR Files within Linux
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.rarUNRAR 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