I installed a package from its source files by using “make install”, if I want to remove the package, how should I do? I looked into Makefile, but not many options.
Thanks in advance
Yang
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Usually when you use
make install, there is no good way to uninstall. This is why it’s often advisable to use the--prefixoption to theconfigurescript to specify a special directory for each application that’s installed in this way.Another good option is to make the extra effort to pack up an RPM, then you can use
rpmto install and uninstall. But it’s too late for you to do this after you’ve already done the install.So, I think you will be left to try to find the files that were installed and remove them individually. Hopefully the makefile installed to
/usr/localinstead of/usr.You might try searching by time range, that way you might be able to find all the files that were installed at the same time.