1.查看httpd相关软件包
rpm -qa|grep httpd
2.卸载命令, “rpm -e 软件或服务名”
如果出现类似“httpd >= 2.2.0 is needed by (installed) gnome-user-share-0.10-6.el5.i386”这样的提示就说明,httpd这个服务是依赖于gnome-user-share的,我们需要先卸载gnome-user-share然后再卸载apache,我们运行:
rpm -e gnome-user-share
1.查看httpd相关软件包
rpm -qa|grep httpd
2.卸载命令, “rpm -e 软件或服务名”
如果出现类似“httpd >= 2.2.0 is needed by (installed) gnome-user-share-0.10-6.el5.i386”这样的提示就说明,httpd这个服务是依赖于gnome-user-share的,我们需要先卸载gnome-user-share然后再卸载apache,我们运行:
rpm -e gnome-user-share