【问题标题】:How to clean completely ns2.35 in Ubuntu 15.04?如何在 Ubuntu 15.04 中彻底清理 ns2.35?
【发布时间】:2017-08-15 17:05:58
【问题描述】:

我将从 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。

【问题讨论】:

    标签: ubuntu ns2 ubuntu-15.04


    【解决方案1】:

    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 可执行文件:也必须手动删除。

    【讨论】:

    • 非常感谢 Knud Larsen
    猜你喜欢
    • 2013-04-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-07-05
    • 2011-10-28
    • 1970-01-01
    • 2011-02-14
    相关资源
    最近更新 更多