更新时间:2023-02-22 10:49:15
使用 sudo apt-get uninstall
是不够的,那会保留配置.
要完全卸载,请使用 sudo apt-get purge apache2
.
It is not enough to use sudo apt-get uninstall
, that will keep the configuration.
For a complete uninstall, use sudo apt-get purge apache2
.
您可能也有兴趣阅读 Ubuntu Stack Exchange 网站上的此问答,其中涵盖了相同的问题.
You may also be interested in reading this Q&A on the Ubuntu Stack Exchange site, which covers the same problem.