I tried with
sudo make uninstall from the source folder but i keep getting
make: *** No rule to make target 'uninstall'. Stop.
Right. I forgot the Makefile is generated by ./configure and so doesn't have an uninstall target.
That means we have to do things the trial and error way by looking at my own bitcoind installation and seeing which files belong to it (how? I don't know, by comparing file modification times? Worth a shot.)
/usr/local/bin/bitcoin-cli
/usr/local/bin/bitcoind
/usr/local/bin/bitcoin-qt
/usr/local/bin/bitcoin-tx
/usr/local/bin/bitcoin-wallet
/usr/local/bin/test_bitcoin
/usr/local/include/bitcoinconsensus.h
/usr/local/lib/libbitcoinconsensus.so
/usr/local/lib/libbitcoinconsensus.so.0
/usr/local/lib/libbitcoinconsensus.so.0.0.0
/usr/local/man/man1/bitcoin-cli.1
/usr/local/man/man1/bitcoind.1
/usr/local/man/man1/bitcoin-qt.1
/usr/local/man/man1/bitcoin-tx.1
/usr/local/man/man1/bitcoin-wallet.1
/usr/local/share/man/man1/bitcoin-cli.1
/usr/local/share/man/man1/bitcoind.1
/usr/local/share/man/man1/bitcoin-qt.1
/usr/local/share/man/man1/bitcoin-tx.1
/usr/local/share/man/man1/bitcoin-wallet.1
Just
rm -f all of these (be careful not to blow away your entire /usr/local in the process
rm can destroy entire folder trees).
Removing these files won't remove the Berkeley DB 4.8 dependencies if that is also installed in /usr/local.
Note: If you installed Core to a folder other than /usr/local, then replace that prefix in the files with your own accordingly.