By default Linux support .tar, .tar.gz, .bz2 and .zip compressed files.
On FreeBSD unzip command is not available, you can install from ports.
RAR files can be uncompressed with command unrar.
On linux you can install it with
yum install unrar
On FreeBSD, you can install it from package or from ports
pkg_add -r unrar rehash