答案1
一般来说,运行make uninstall
是可以的,但是uninstall
不保证目标存在ALL makefile
。
通过使用该installwatch
程序(软件包的一部分checkinstall
),以及关于安装软件(sudo installwatch [options] make install
,您可以找出哪些文件被更改,并手动删除它们。
描述
installwatch is a program that is used in order to track the changes made while installing
local software (i.e. "make install"). It monitors the requested command, and produces a
log which indicates all created and modified files. By default it outputs to syslog(3)
using a priority of "LOG_USER | LOG_INFO". This may be overridden by the use of the -o
flag. The log format is as follows:
<return-value> <syscall-name> <argument> #<comment>
Each field is delimited by a "^I" character if logging to syslog(3), or by a tab when
logging to a file.