Monday, April 21, 2014

How to open RAR File or extract RAR Files under Linux or UNIX

Kali Info














RAR files are in compressed archive format, if you have downloaded rar files from the Internet, you need to unpack or unrar them (extract rar files). RAR is a proprietary file format for data compression and archiving. The command used to extract these files is called "unrar". By default, unrar is not being installed on Linux, FreeBSD or UNIX like operating system. You can install unrar command with the help of apt-get or yum command.

Note- Kali Linux users can directly use unrar command as it is pre-installed in it.

Install unrar command

Under Debian(Kali) or Ubuntu Linux, you need to type apt-get command as follows to install unrar program:
# apt-get install unrar
If you are using Fedora core Linux / CentOS / RHEL, use yum command as follows :
# yum install unrar
If you are using FreeBSD, enter:
# 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.6.0.tar.gz
Next, untar file, enter:
$ tar -zxvf rarlinux-3.6.0.tar.gz
Both unrar and rar commands are located in rar sub-directory. Just cd to rar directory, type:
$ cd rar
$ ./unrar
Now copy rar and unrar file to /bin directory, type:
# cp rar unrar /bin

How To Use unrar Command

The unrar command supports various options, below are common options that you need to for extracting files.

Extract rar (unpack) File

To extract file.rar file into the current directory, enter:
$ unrar e file.rar

List (l) file inside rar archive

$ unrar l file.rar

To extract (x) files with full path type command

$ unrar x file.rar

To test (t) integrity of archive

$ unrar t file.rar

How to open rar file under MS-Windows XP/NT/2000/7/8/8.1?

  • If you are using MS-Windows XP / 7 / 8/ 8.1 download Winrar. It is free download (free to try License) software.
NOTE-If you are having still any problem then please comment below.
Do you Like this story..?

Get Free Email Updates Daily!

Follow us!

3 comments:

  1. Thanks for this info. You can visit us http://www.zyberph.com for more kali linux command for android

    ReplyDelete
  2. Kali Linux Info: How To Open Rar File Or Extract Rar Files Under Linux Or Unix >>>>> Download Now

    >>>>> Download Full

    Kali Linux Info: How To Open Rar File Or Extract Rar Files Under Linux Or Unix >>>>> Download LINK

    >>>>> Download Now

    Kali Linux Info: How To Open Rar File Or Extract Rar Files Under Linux Or Unix >>>>> Download Full

    >>>>> Download LINK IQ

    ReplyDelete