2

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?

Olli
  • 8,971
Vern
  • 1,659

1 Answers1

2
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

Jorge Castro
  • 71,754
  • 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 06: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. – RobotHumans Jul 16 '11 at 10:09