- Unzip the omnetpp-xxx.zip file in to any folder possibly (/home/pradeepkumar/)
- Open the shell prompt and then go to the corresponding folder by issuing the command cd /home/pradeepkumar/omnetpp-4.0
- Run the command (./configure)
- If you get any errors, please download the concerned files and again go to step 3.
- 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
- If path information is being asked, then set the path in the /home/pradeepkumar/.bashrc (export PATH=$PATH:/home/pradeepkumar/omnetpp-4.0/bin)
- Add the following line to your .profile or .bash_profile (provided you use bash): export TCL_LIBRARY=/usr/share/tcltk/tcl8.5
- After that logout and login and then go to step 2 and then 3.
- Execute make command and thats it!!!!
- After installing this, for running the IDE, you need to install java run time environment.
In this post, we are going to see how to install ns-3.36.1 in Ubuntu 22.04. You can follow the video for complete details Tools used in this simulation: NS3 version ns-3.36.1 OS Used: Ubuntu 22.04 LTS Installation of NS3 (ns-3.36.1) There are some changes in the ns3 installation procedure and the dependencies. So open a terminal and issue the following commands Step 1: Prerequisites $ sudo apt update In the following packages, all the required dependencies are taken care and you can install all these packages for the complete use of ns3. $ sudo apt install g++ python3 python3-dev pkg-config sqlite3 cmake python3-setuptools git qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools gir1.2-goocanvas-2.0 python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython3 openmpi-bin openmpi-common openmpi-doc libopenmpi-dev autoconf cvs bzr unrar gsl-bin libgsl-dev libgslcblas0 wireshark tcpdump sqlite sqlite3 libsqlite3-dev libxml2 libxml2-dev libc6-dev libc6-dev-i386 libclang-dev llvm-
Comments
Post a Comment