Packages and Binaries:


This package contains the static library for the libunrar library.

Installed size: 752 KB
How to install: sudo apt install libunrar-dev

  • libunrar-headers
  • libunrar5


This package contains the header files for the libunrar library.

Installed size: 217 KB
How to install: sudo apt install libunrar-headers


library for unarchiving .rar files

Installed size: 245 KB
How to install: sudo apt install libunrar5

  • libc6
  • libgcc-s1
  • libstdc++6


Unrar can extract files from .rar archives. If you want to create .rar archives, install package rar.

Installed size: 397 KB
How to install: sudo apt install unrar

  • libc6
  • libgcc-s1
  • libstdc++6

Extract files from rar archives

root@kali:~# man unrar-nonfree
UNRAR(1)                         RAR archiver                         UNRAR(1)

       unrar - extract files from rar archives

       unrar  command  [-switch ...] archive [file ...] [@listfiles ...] [path
       ...] [path_to_extract/]

       This manual page documents briefly the unrar command.
       This manual page was written for the Debian GNU/Linux distribution  be-
       cause the original program does not have a manual page.
       Commands and options described here are as of unrar 6.0.

              Archive  file name in RAR or other supported format.  If archive
              file uses RAR multiple volume format, specify only first  volume
              file name as archive file name.

       file ...
              File  path  name to extract.  You can specify more path names at
              one time.

       @listfiles ...
              If argument starts with "@", unrar uses listfile  as  file  path
              list  file.   This  list file includes file path list to extract
              from archive file.  You can use 2 or  more  list  files  at  one
              File  list  uses  one line for one file path.  And blank line is
              This file is used to extract many file path names  in  one  time
              that your shell can't accept.

              If  last  argument is ended with "/", unrar uses path_to_extract
              as file extraction target path.

       After the program name comes a command and then optional switches  with
       dashes  before  them.   A summary of commands is included below.  For a
       complete description, run unrar without options.

       e      Extract files to current directory.

              List archive content [technical[all], bare].

       p      Print file to stdout.

       t      Test archive files.

              Verbosely list archive [technical[all], bare].

       x      Extract files with full path.

       NOTE: Every switch must be separated by a whitespace.  You  cannot  put
       them together.

       -      Stop switches scanning.

       @[+]   Disable [enable] file lists.

              Alternate destination path

              Generate archive name using the current date.

       -ai    Ignore file attributes.

              Set path inside archive.

       -c-    Disable comments show.

       -cfg-  Disable read configuration.

       -cl    Convert names to lower case.

       -cu    Convert names to upper case.

       -dh    Open shared files.

       -ep    Exclude paths from names.

       -ep3   Expand paths to full name.

       -f     Freshen files.

              Display or disable messages.

       -kb    Keep broken extracted files.

       -ierr  Send all messages to stderr.

       -inul  Disable all messages.

              Additionally filter included files.

       -n@    Read additional filter masks from stdin.

              Read additional filter masks from list file.

       -o+    Overwrite existing files.

       -o-    Do not overwrite existing files.

       -ol[a] Process symbolic links as the link [absolute paths].

       -or    Rename files automatically.

       -ow    Save or restore file owner and group.

              Set password.

       -p-    Do not query password.

       -r     Recurse subdirectories.

              Specify the character set.

              Process files with size less than specified.

              Process files with size more than specified.

              Process files modified after <d> YYYYMMDDHHMMSS date.

              Process files modified before <d> YYYYMMDDHHMMSS date.

              Process files newer than <t> time.

              Process files older than <t> time.

              Save or restore time (modification, creation, access, preserve).

       -u     Update files.

       -v     List all volumes.

              File version control.

       -vp    Pause before each volume.

              Exclude specified file.

              Exclude files in specified list file.

       -x@    Read file names to exclude from stdin.

       -y     Assume Yes on all queries.






              UnRAR (and RAR) configuration file.

       Syntax: (switches for all commands)
              switches=<any RAR switches separated by spaces>

       Syntax: (switches for specific command)
              switches_<command>=<any RAR switches separated by spaces>

              switches=-m5 -s
              switches_a=-m5 -s

       This  manual  page was written by Petr Cech <[email protected]> according
       to "unrar" for the Debian GNU/Linux system (but may be used by others).

                                  2021-11-03                          UNRAR(1)

Updated on: 2024-Feb-16