Extracting RAR files in Linux

Today a client want to install Flash Media Server on his linux server. He uploded Flash Media Server in a rar file. Linux by default do not support .rar files.

So i have to install unrar on the server. This is available for download from


# wget http://www.rarlab.com/rar/rarlinux-3.7.1.tar.gz
# tar -zxvf rarlinux-3.7.1.tar.gz
# cd rar
# mv unrar /usr/local/bin

Thats all, you are ready to use unrar now.

To uncompress a rar file, do

unrar x fms.rar

Here is what i done

root@hd-t3327cl [/usr/local/src/fms]# unrar x fms.rar

UNRAR 3.71 freeware Copyright (c) 1993-2007 Alexander Roshal

Extracting from fms.rar

Extracting Readme.txt OK
Extracting license.lic OK
Extracting FlashMediaServer2.exe OK
Extracting flashmediaserver2.tar.gz OK
Extracting shock.nfo OK
All OK
root@hd-t3327cl [/usr/local/src/fms]#

Posted in Linux