如何在 Ubuntu 15.04 中彻底清理 ns2.35?

How to clean completely ns2.35 in Ubuntu 15.04?

我将从 ubuntu15.04 中清理 ns2.35,我命令遵循 运行 但创建了此消息:

mada@ubuntu:~$ sudo apt-get remove ns2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'ns2' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
来自 ubuntu 的

ns235 没有删除,当我使用它时,我在 Ubuntu 15.04.

中安装了 ns-allinone-2.35_gcc5.tar.gz

apt 会知道 packages.deb 安装了 apt (apt-get),而不是任何手动安装的文件。

删除文件夹 ns-allinone-2.35/ :

cd [path-to-folder-with-ns-allinone-2.35]
rm -rf ns-allinone-2.35/

如果 /usr/local/bin/ 中有任何 ns2 可执行文件:也必须手动删除。