Uninstalling a broken software rpm in Linux

Hi,

I have a installed a package(some X) on my linux machine. But now I want to unistall it but some of the file required for unistalltion are missing. Can someone tell me how to remove that rpm (package) from my machine.

I am trying Install it again. But for it, i need to uninstall it before.

Thanks,
sunny

rpm -e <path+software name>

u need to find ur software in ur disk...