我想问如何从我的RHEL4删除/卸载php5我已经安装它,使用
# ./configure # make # make install
我试过了
#make卸载
但有下面的错误,我已经试过它在下面的文件夹安装它
错误是这样的:
使:***没有规则,使目标“卸载”。 停止。
任何人都可以帮助我?
问候
为什么
从源代码构build和安装的包不是一件容易的事情。 通常,这些软件包都带有一个make文件,使您可以构build和安装它们。 如果你没有find像make uninstall (这是最有可能的)任何选项,那么你需要手动删除它!
如果仍然需要将其删除,可以按照make install命令的操作执行,并运行必要的命令以反转其更改。
你可以做的是使用whereis来查找所有的php相关的文件,然后所有这些。 除非你跟踪所有的configuration选项(即如果你改变了前缀或configuration文件的位置),那么这是我知道的唯一方法之一…
我会做什么:
1. Backup your system 2. #whereis php 3. With great care not to delete something that doesn't belong to php, use rm -rf to remove anything the whereis command found. 4. Reload your environment (logout/login) 5. Try to run php, should tell you it's gone