How to Install Omnet++ in Ubuntu 8.04
OMNeT++ is a public-source, component-based, modular and open-architecture simulation environment with strong GUI support and an embeddable simulation kernel.
I have install omnet++ in my pc and also in my laptop. Both with same version of ubuntu 8.04 but with different errors when compiling the source. Upon success, you can run the samples using ./rundemo command and below window will pop up nicely.

Here are the steps :
1. Download the simulator archive from omnetpp.org
2. sudo tar zxf omnetpp-3.4b2-src.tgz -C /usr/local/ ; sudo ln -s omnetpp-3.4b2 omnetpp ; cd /usr/local/omnetpp
3. sudo apt-get install bison flex blt lmodern giftrans doxygen libxml2-dev graphviz imagemagick
4. sudo apt-get install tcl8.4 tk8.4 tcl8.4-dev tk8.4-dev
5. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/omnetpp/lib
6. export TCL_LIBRARY=/usr/share/tcltk/tcl8.4
7. export PATH=$PATH:/usr/local/omnetpp/bin
8. sudo ./configure;
9. sudo make
(Step 5,6,7 may be added into ~/.bashrc for future convenience. Remember to remove the word export!)
Following all those step should be no problem. It will be a problem once you in step 9 where compiler will be complaint about some command not found. Example :
opp_msgc -Xnc -Xns sim_std.msg
make[1]: opp_msgc: Command not found
Solution :
10. sudo -i
11. cd /usr/local/omnetpp;export PATH=$PATH:/usr/local/omnetpp/bin
12. make
I have successfully install omnet++ using the steps mention above but when installing it in my pc,i have error: Standard C Math Library not found when running steps 8.
Solution: sudo apt-get install build-essential
Well, that’s all. enjoy your omnet++
Credit to blog.chinaunix.net
Powered by Bleezer
If you're new here, you may want to subscribe to my RSS feed or get my latest post directly in your mailbox. Thanks for visiting !
![[Ask]](http://www.arejae.com/blog/wp-content/plugins/bookmarkify/ask.png)
![[Bloglines]](http://www.arejae.com/blog/wp-content/plugins/bookmarkify/bloglines.png)
![[del.icio.us]](http://www.arejae.com/blog/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.arejae.com/blog/wp-content/plugins/bookmarkify/digg.png)
![[Furl]](http://www.arejae.com/blog/wp-content/plugins/bookmarkify/furl.png)
![[StumbleUpon]](http://www.arejae.com/blog/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Technorati]](http://www.arejae.com/blog/wp-content/plugins/bookmarkify/technorati.png)

Salam boh..ape criter? maaflah..ambo nih kureng skit omputih ni..hehehe..
Ape2pun..nice to meet you semalam..
ambo pun kure gok cik wey weh english nie.bahang rambang jer..ekeke…..hopefully buleh lar improve. tapi napok pesen macey dok improve jugok.hahaha…..
nice to meet you too deh.Insya-Allah…semoga saing-saing sahabat semua mendapat kejayaan.
can you do the tutorial on how to install the suite for omnet IPv6SuiteWithINET-20060119 on ubuntu?
I have the windows version without IPv6SuiteWithINET-20060119 on :
http://omnet-installation.blogspot.com
Tried install IPv6SuiteWithINET-20060119 on windows but failed.Maybe you can help to install it on ubuntu…
Nice post. Unfortunately, Omnet team is migrating its webserver, and it is impossible to download omnet’s tar from there. Is there any possibility you send me your local copy?
Thanks…
Hi Franco,thanks. hmm..I can’t find my tar source that i download previously.
anyway,I just create it again using my current folder but i’m not sure if it is ok to use it.
If you like, you can download it here.
http://www.arejae.com/blog/?download=omnetpp-3.4b2
..and kindly let me know the result yeah.
thanks to you too.