youx@youx:~$ sudo apt install build-essential autoconf automake libxmu-dev python-pygraphviz cvs mercurial bzr git cmake p7zip-full python-matplotlib python-tk python-dev python-kiwi python-gnome2 python-gnome2-desktop qt4-dev-tools qt4-qmake qt4-qmake qt4-default gnuplot-x11 wireshark
[sudo] password for youx:
Sorry, try again.
[sudo] password for youx:
Sorry, try again.
[sudo] password for youx:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python2-dev python2 python-dev-is-python3
E: Unable to locate package python-pygraphviz
E: Unable to locate package python-matplotlib
E: Package 'python-dev' has no installation candidate
E: Unable to locate package python-kiwi
E: Unable to locate package python-gnome2
E: Unable to locate package python-gnome2-desktop
E: Unable to locate package qt4-dev-tools
E: Unable to locate package qt4-qmake
E: Unable to locate package qt4-qmake
E: Unable to locate package qt4-default
答案1
ns-3 是一个用于互联网系统的离散事件网络模拟器,主要用于研究和教育用途。
要在所有当前支持的 Ubuntu 版本中安装 ns3,请打开终端并输入:
sudo apt install ns3
要在 Ubuntu 20.04 和 Ubuntu 22.04 中安装 ns3 的 Python 绑定,请打开终端并输入:
sudo apt install python3-ns3