Hello Gabriel and thank you,I had to use the 2 last commands in ns-3-dev because the ns3 file and test.py only exist there. Still i have this new error:
ahh0879@de161103-06:~/Bureau/projet$ ls
ns-3-dev
ahh0879@de161103-06:~/Bureau/projet$ cd ns-3-dev
ahh0879@de161103-06:~/Bureau/projet/ns-3-dev$ ls
AUTHORS CONTRIBUTING.md README.md third-party
bindings doc RELEASE_NOTES.md utils
build-support examples scratch utils.py
CHANGES.md LICENSE setup.cfg VERSION
CMakeLists.txt LICENSES setup.py
CODE_OF_CONDUCT.md ns3 src
contrib pyproject.toml test.py
ahh0879@de161103-06:~/Bureau/projet/ns-3-dev$ ./ns3 configure --enable-tests --enable-examples --filter-module-examples-and-tests=nr
./test.py
Error: CMake not found; please install version 3.13.0 or greater, or modify $PATH
The .lock-ns3 file was not found. You must configure before running test.py.
ahh0879@de161103-06:~/Bureau/projet/ns-3-dev$
What are they referring to in 3.13.0 version?