Skip to content

rakin000/ns2installation-archlinux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Install ns-2.35 and nam-1.15 on ArchLinux(EndeavourOS)

Install gcc-4.8

  • If you don't have 'yay', install it.
       git clone https://aur.archlinux.org/yay.git
    • Change directory and install
       cd yay
       makepkg -si
  • Now install gcc-4.8
       yay -S gcc48 
  • Extract and change directory
      tar -xf ns-allinone-2.35_gcc5.tar.gz 
      cd ns-allinone-2.35/

Install nam-1.15 and ns-2.35

  • First install dependencies
   sudo pacman -S libx11 libxmu
  • To install, run
    export CC=gcc-4.8 CXX=g++-4.8 && ./install 
  • After this script runs successfully
    • Change directory to nam-1.15 and install
       cd nam-1.15/
       sudo make install 
    • Change directory to ns-2.35 and install
        cd ../ns-2.35/
        sudo make install