Compile unrar on linux

First install compiler packages:

apt-get install build-essential

Get the source from http://www.rarlab.com/rar_add.htm

cd /tmp
wget http://www.rarlab.com/rar/unrarsrc-5.3.2.tar.gz
tar xf unrarsrc-5.3.2.tar.gz
cd unrar
make

Syntax

unrar x filepath

You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.