【问题标题】:completly uninstall apachectl on macOS在 macOS 上完全卸载 apachectl
【发布时间】:2018-09-16 10:07:00
【问题描述】:

我是通过 brew apache2 (brew install apache2) 安装的,但后来卸载了它 (brew uninstall apache2) 但现在命令 apachectl 仍然存在。我该如何摆脱它?

【问题讨论】:

    标签: macos apache command-prompt uninstallation


    【解决方案1】:

    Apple 提供了一个 apachectl 二进制文件作为 macOS 的一部分,所以我怀疑你看到的就是那个 - 我当然不建议你删除它。

    要检查,请在终端中运行:

    type apachectl
    apachectl is /usr/sbin/apachectl
    

    如果您像我在上面所做的那样在/usr/sbin 中获得了那个,那就是Apple 提供的那个。别管它。

    如果您有其他问题,请点击答案下方的edit 并使用新信息更新问题。

    【讨论】:

      猜你喜欢
      • 2020-12-02
      • 2017-06-30
      • 1970-01-01
      • 2022-11-08
      • 2017-07-24
      • 2017-10-10
      • 2015-07-29
      • 1970-01-01
      • 2015-12-26
      相关资源
      最近更新 更多