

Ta Process files modified after in YYYYMMDDHHMMSS format Sm Process files with size more than specified Sl Process files with size less than specified N Additionally filter included Read additional filter masks from Read additional filter masks from list file Stop switches Disable file listsĪd Append archive name to destination pathĪg Generate archive name using the current dateĮp3 Expand paths to full including the drive letter V ,b ] Verbosely list archive contents ,bare ] UNRAR 5.50 freeware Copyright (c ) 1993- 2017 Alexander Roshal To extract file.rar file into the current directory, enter: The unrar command supports various options, below are common options that you need to for extracting files.

$ sudo cp rar unrar /usr/local/bin How to use unrar Command Now copy rar and unrar file to /usr/local/bin directory, type: Next, untar the file with tar command, enter:īoth unrar and rar commands are located in rar sub-directory. If any of above, methods is not working for your version of Unix/Linux, download binary package from official rarlab site: First, install Homebrew on macOS and then type the following brew command: If you are using macOS Unix and Homebrew, use the brew command. If you are using OpenBSD Unix, use the pkg_add command: If you are using FreeBSD Unix, use the pkg command: If you are using Fedora Linux, use the dnf command: If you are using a CentOS / RHEL, use the yum command as follows (see discussion below for more): If you are using a Debian or Ubuntu Linux, you need to type apt-get command or apt command as follows to install unrar program: Install unrar command to open rar file or extract rar file
