Other Linux distributions typically have a suitable default compiler (at least version 4.9). Ns-3 is supported and currently tested on the following primary platforms:
The below instructions are per-platform instructions for supplemental packages that enable optional features of ns-3 or companion tools.
Ns-3 is primarily developed on GNU/Linux and macOS platforms, and the minimal requirements to run basic simulations are a C++ compiler either g++ or clang++ compiler, and Python (version 3) interpreter.
1.1 Operating system and compiler support.