If you really want to RAR it instead of compressing with any other algorithm, you can use Open Source cross-platform
7-Zip.
See the list of supported formats and features:
http://en.wikipedia.org/wiki/7zip[
^].
Original Web site:
http://www.7-zip.org/[
^].
The only license restriction named is the unRAR restriction, so check the Web site to see what would be your limitation. By that reason, consider using some other format, such as original
7z (
http://en.wikipedia.org/wiki/7z[
^]).
—SA