| Open rar file or Extract rar files under Linux or UNIX |
|
Q. How do I open rar archive files under Linux / UNIX operating systems? RAR is a proprietary file format for data compression and archiving, developed by Eugene Roshal. Under Linux and UNIX, use command called unrar. By default unrar is
not being installed on Linux, FreeBSD or UNIX oses. You can install
unrar command with the help of apt-get or yum command. Install unrar commandUnder Debian Linux, you need to type apt-get as follows to install unrar program: If you are using Fedora core Linux then use yum command as follows (see discussion below): If you are using FreeBSD, use: If any of above, methods is not working for you, download binary package from official rarlab site: Untar file Both unrar and rar commands are located in rar sub-directory. Just go to rar directory: Now copy rar and unrar to /bin directory: How to use unrarunrar command supports various options below are common options that you need to use everyday. Task: To open rar (unpack) file in current directory type command:
Please note that replace file.rar filename with your actual filename. Task: List (l) file inside rar archive:
Task: To extract (x) files with full path type command:
(D) To test (t) integrity of archive, file type command: |
|
| Last Updated ( Wednesday, 15 July 2009 ) |