UnRAR is the name of two different command-line applications for extracting RAR file archives.
This source-available freeware[1] is a command-line version of UnRAR, released by RARLAB, the same company that released the proprietary WinRAR software.[2] This software can extract newer RAR v5.0 file archives that has limited support in free extractors.
The source-available license stipulates that users may not use the UnRAR code to create a RAR compressor.
This is a free software version of UnRAR that uses a library that is based on an old version of RARLAB's UnRAR with permission from author Eugene Roshal.[3] It is probably licensed under the GPLv2-only and unrarlib is available under the GPLv2-or-later or a proprietary license. Work ended in 2007. Unrarlib only supports the RAR2 format.[3]