There's a walkthrough about how to remove the amp here. I found it tricky to get it out, even with the walkthrough, but I think I wasn't pulling the dash away enough.
But if you're putting in a new head unit, you'll need an amp bypass cable, which you can get off eBay. This connect the head unit to the OEM wiring and bypasses the amp.