[strike]As long as your HP desktop has an available PCI-Ex16 expansion slot, the Radeon HD 5450 should work without issue.[/strike]
Whoops! Looks like the G6 is a laptop and not a desktop. No. You cannot install a discrete graphics card into a laptop.
-Wolf sends