Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a Ubuntu system with a mix of softwares that were installed either by

  • synaptic/dpkg
  • manual built and install

However, I would now like to remove those software that were manually built and installed. Is there a systematic way of doing this?

share|improve this question

1 Answer 1

up vote 2 down vote accepted
sudo make uninstall

It removes the manually build/installed software, it needs to be executed on the same folder it was originally builded upon. Another version of the sources should not work correctly, so you have to keep the original sources folder.

TIP: THATS why i recommend replacing sudo make install by sudo checkinstall which makes an easy to remove .DEB file

share|improve this answer
    
Thanks! That helped alot! And thanks for the checkinstall as well ... I think I'll use that more often now. Cheers! –  Vern Jul 16 '11 at 6:02
1  
added bonus of checkinstall is that if it isn't debianized or defined properly (like if there is no make checkinstall there's probably no make uninstall target) in the make file, you know before you need make uninstall. –  hbdgaf Jul 16 '11 at 10:09

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.