ns3++ command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ns3++: command not found
or when using sudo you get the following error message
sudo: ns3++: command not found
Solutions to ns3++: command not found
How To Fix ns3++: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ns3++ is provided by libns3-dev package.
libns3-dev 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 static libraries, header files.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libns3-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libns3-dev.
sudo apt -y install libns3-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install libns3-dev
Summary
In this tutorial we learn how to fix ns3++ command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.