How to get rid of unwanted software

view story

http://askubuntu.com – Most of the time when I want to try a new program, the package manager tells me that I also need to install certain dependencies. Figuring that the program will not work without these dependancies, I install all of them. Sometimes the program is good, other times the program doesn't work or crashes or I just don't like it. How can I uninstall the program and all the dependancies that were installed with it? Do I need to manually keep track of what gets installed when and where and what it needs to function? I don't want a bunch of useless or otherwise unused programs cluttering up my comp (HowTos)