I don't know of any free software that can do this. There are a few commercial plugins for Cubase or maybe wavelab that are pretty good at taking out the vocals, but guitar is tough because where vocals (usually) have a limited range, guitar is much much much more versatile.
Really, to remove a guitar track properly you need the original multitrack recording...