In most contexts—especially console homebrew (PS3/PS4)—you do

  1. (Optional) Wrap with productbuild for distribution with a flat installer and a distribution XML

unar "$RAR_FILE" -o temp_extract/

RAR

: A proprietary compression format used to group and shrink multiple files for easier storage and transfer.