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
[email protected]:~/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
Latest posts by Rick Donato (see all)
- How to Configure a BIND Server on Ubuntu - March 15, 2018
- What is a BGP Confederation? - March 6, 2018
- Cisco – What is BGP ORF (Outbound Route Filtering)? - March 5, 2018
Want to become a Linux expert?
Here is our hand-picked selection of the best courses you can find online:
Linux Mastery course
Linux Administration Bootcamp
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial