Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to remove PHP-5.3. completely from my machine after make it from source. how can this be done?
When I try make uninstall I get:

make: * No rule to make target `uninstall'. Stop.

share|improve this question

migrated from stackoverflow.com Oct 15 '10 at 4:35

This question came from our site for professional and enthusiast programmers.

1  
This is probably more superuser than stackoverflow. Are you trying to remove the source code? Did you do a make install and are now trying to undo it? –  birryree Oct 15 '10 at 2:44
add comment

1 Answer

Hoping that you use some linux flavor (I'll assume it's debian based) you could use a tool like checkinstall ( http://www.asic-linux.com.mx/~izto/checkinstall/ ) which will create a package with all the files resulting from the make install procedure. In this way you obtain a list of files along with their path. Now you can either delete them manually one by one or install the created package overwriting the existing files and then removing it using the purge option.

share|improve this answer
    
it also works in fedora based distros iic –  Journeyman Geek Apr 25 '11 at 14:51
    
yes, you can also create rpms –  Cosu Apr 25 '11 at 15:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.