Apache2卸载问题



由于一些损坏的包问题,我最近不得不卸载Apache2。

然而,当我与核对时

`$ whereis apache2` Iget response `apache2:`

我用过$ sudo -rf /etc/apache2$ sudo apt-get remove apache2-common$ sudo apt-get --purge remove apache2$ sudo apt autoremove,但我仍然没有设法从我的Linux Mint 19.3 Cinnamon中完全删除Apache2的所有痕迹。

如果有人给我指引正确的方向,我将不胜感激。

根据上面的命令,您完全删除了Apache2。

  • apt remove删除包的二进制文件
  • apt purge删除与apache2包相关的所有内容,包括配置文件

在您的案例中,whereis显示没有apache2包的二进制文件、源代码或手册页。

最新更新