Existem algumas abordagens que você pode seguir.
- Execute novamente
./configure
com as mesmas opções que você passou originalmente e, em seguida, executemake uninstall
. Se você não tiver mais os arquivos originais, baixe novamente o tarball da versão correspondente e use-o. - Use
find
oulocate
para rastrear os arquivos relevantes (só é realmente possível para programas menores) e remova-os manualmente.
Para evitar esse cenário novamente, você sempre pode consultar uma ferramenta como checkinstall para criar a partir da origem e rastreando os arquivos instalados; foi desenvolvido precisamente por este motivo:
A lot of people has asked me how can they remove from their boxes a program they compiled and installed from source. Some times -very few- the program's author adds an uninstall rule to their Makefile, but that's not usually the case. This is my primary reason to write CheckInstall. After you ./configure; make your program, CheckInstall will run make install (or whatever you tell it to run) and keep track of every file modified by this installation.