How to delete a cardano-test-node from my system

i am facing some error with cardano test-node and would like to clean install it, so how i can i delete the previous

Reinstall ubuntu and try this guide

Thank you and i found that the guide will be very helpful ,but is there any way to stop unistall cardano-node without re-installing ubuntu

U will need to clear the files from usr/local and all files copied/ created