ns3.35-bench-simulator command not found

In this troubleshooting guide we learn how to fix ns3.35-bench-simulator command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ns3.35-bench-simulator: command not found

or when using sudo you get the following error message

sudo: ns3.35-bench-simulator: command not found

Solutions to ns3.35-bench-simulator: command not found

How To Fix ns3.35-bench-simulator: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ns3.35-bench-simulator is provided by ns3 package.

ns3 is:

ns-3 is a discrete-event network simulator for Internet systems, targeted primarily for research and educational use. ns-3 is free software, licensed under the GNU GPLv2 license, and is publicly available for research, development, and use. ns-3 is intended as an eventual replacement for the popular ns-2 simulator. The project acronym “nsnam” derives historically from the concatenation of ns (network simulator) and NAM (network animator).

This package contains several utilities. The files for development are in libns3-3, libns3-dev and python3-ns3.

To fix this problem, we can install more using the command below.

sudo apt-get -y install ns3

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install ns3.

sudo apt -y install ns3

Or if you have aptitude installed you can use the following command.

sudo aptitude install ns3

Summary

In this tutorial we learn how to fix ns3.35-bench-simulator command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.