Install ns-2.35 and nam-1.15 on ArchLinux(EndeavourOS)
- If you don't have 'yay', install it.
git clone https://aur.archlinux.org/yay.git
- Change directory and install
- Now install gcc-4.8
- 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
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