2017-08-15 43 views
0

我将从ubuntu15.04清洁ns2.35,我指令追随运行,但此消息发布:从Ubuntu的如何在Ubuntu 15.04中完全清除ns2.35?

[email protected]:~$ 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. 

ns235不会删除,而我用它工作,我安装NS-ALLINONE-2.35_gcc5 .tar.gz在Ubuntu 15.04中。

回答

0

apt将知道与aptapt-get)安装的packages.deb,而不是任何手动安装的文件。

删除文件夹NS-ALLINONE 2.35 /:

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

如果在/ usr/local/bin中的任何NS2 executable's /:同时还必须手动删除。

+0

非常感谢Knud Larsen –

+0

您可以在答案上打勾(灰色勾号?)以标记“接受/解决方案正常”。 –