Inorder to extract a RAR file in your linux machine, it is required to install UNRAR. Hence please follow the below steps:
Under Debian Linux, you need to type apt-get as follows to install unrar program:
# apt-get install unrar
If you are using Fedora core Linux then use yum command :
# yum install unrar
If you are using FreeBSD:
# pkg_add -v -r unrar
If any of above, methods is not working for you, download binary package from official rarlab site:
$ cd /tmp
$ wget http://www.rarlab.com/rar/rarlinux-3.7.1.tar.gz
Untar file
$ tar -zxvf rarlinux-3.7.1.tar.gz
Both unrar and rar commands are located in rar sub-directory. Just go to rar directory:
$ cd rar
Now copy rar and unrar to /bin directory:
# cp rar unrar /bin
Task: To open rar (unpack) file in current directory type command:
$ unrar e file.rar
Task: List (l) file inside rar archive:
$ unrar l file.rar
Task: To extract (x) files with full path type command:
$ unrar x file.rar
(D) To test (t) integrity of archive, file type command:
$ unrar t file.rar







