its easy
first download the tar file into a dir where u want ur omnet++
let me giv u an example.
i used centos operating system
and i downloaded and extracted omnet4.1 into tmp directory
after u extract it.go to the terminal
use root mood by command su for centos
cd/tmp/omnetpp-4.1
thn type ./configure
if any of the required files are missing it will be told to you in the terminal
for example if gcc is not there it will tell you what gcc you want.
so thn u install it either using yum install command in terminal or there is an option add/remove software where u just type the name of the package that you want and it will install for you
if configuration is done it will tell u to export path and tcl
export PATH=$PATH.......
copy paste that in the terminal
also open another terminal
rootmood
type gedit ~./bash_profile
under the few lines which are already present in that file copy paste this same export statements then save
close that terminal
now in the terminal which is open type./configure again
if the path is successfully taken it will give u a message path present good
thn next step is make
if no error u can type omnetpp to open the ide