What OS you are currently running?
When you open your PC, do you see spare SATA ports, SATA power connectors and free 3.5" or 5.25" bay?
Note: It took me 10 seconds to land on
HP Support page. It seems they have Windows 7 drivers only, so as long as you can physically fit and power the drive, you should be OK.