在 macOS 上完全卸载 apachectl
completly uninstall apachectl on macOS
我是通过brew apache2安装的(brew install apache2
),后来又卸载了(brew uninstall apache2
)但是现在命令apachectl
还在。我该如何摆脱它?
Apple 提供了一个 apachectl
二进制文件作为 macOS
的一部分,所以我怀疑你看到的就是那个 - 我当然不建议你删除它。
要检查,运行 在终端中:
type apachectl
apachectl is /usr/sbin/apachectl
如果你像我上面那样得到 /usr/sbin
中的那个,那就是 Apple-supplied 那个。别管它。
如果您有其他问题,请点击您答案下方的 edit
并使用新信息更新问题。
我是通过brew apache2安装的(brew install apache2
),后来又卸载了(brew uninstall apache2
)但是现在命令apachectl
还在。我该如何摆脱它?
Apple 提供了一个 apachectl
二进制文件作为 macOS
的一部分,所以我怀疑你看到的就是那个 - 我当然不建议你删除它。
要检查,运行 在终端中:
type apachectl
apachectl is /usr/sbin/apachectl
如果你像我上面那样得到 /usr/sbin
中的那个,那就是 Apple-supplied 那个。别管它。
如果您有其他问题,请点击您答案下方的 edit
并使用新信息更新问题。