Xarchiver the default archive management tool that comes with Debian Stretch won’t open .RAR files as it is a proprietary file format.
(An earlier article described how to enable installing non-free software in Debian).
So, here is how to extract such archives :
First install a tool :Â unrar-free from the Terminal :
Once installed, specify the name of RAR archive that needs to be extracted :
This will extract the contents in the current directory. To extract it to a different location, add the destination path next to the archive name :
To view the contents of RAR archives before extracting, use the -t parameter :
The usage of unrar-free is simple and can be viewed using man pages :