13 August 2011

Installing Omnet++ in Ubuntu 9.04

  1. Unzip the omnetpp-xxx.zip file in to any folder possibly (/home/pradeepkumar/)
  2. Open the shell prompt and then go to the corresponding folder by issuing the command cd /home/pradeepkumar/omnetpp-4.0
  3. Run the command (./configure)
  4. If you get any errors, please download the concerned files and again go to step 3.
  5. You may get errors like this and execute the command (sudo apt-get install bison flex byacc swig build-essential tcl8.5 tk8.5 tcl8.5-dev tk8.5-dev) after installing all the packages, go to step 3
  6. If path information is being asked, then set the path in the /home/pradeepkumar/.bashrc (export PATH=$PATH:/home/pradeepkumar/omnetpp-4.0/bin)
  7. Add the following line to your .profile or .bash_profile (provided you use bash): export TCL_LIBRARY=/usr/share/tcltk/tcl8.5
  8. After that logout and login and then go to step 2 and then 3.
  9. Execute make command and thats it!!!!
  10. After installing this, for running the IDE, you need to install java run time environment.