I'm aware there's already a post with the same title, but my question is different: as I explain it in a Stack Overflow post, I need to use a more recent version of php-gd in my 12.04 Ubuntu than the one shipped by apt-get, and as my system skills are kind of poor, I don't know how to do that (I think I need to somehow modify my packages repositories, but... well I don't know how).
To be clear, in my OSX dev machine, I have a "bundled (2.1.0 compatible)" GD version, with a 1.6.2 libPNG version. And in my Ubuntu prod server, I'm stuck with GD 2.0.36 (see php-info). Can I upgrade this, and how?
By the way, the reason of this is explained in the Stack overflow post linked at the top: I have a huge quality difference in PNG resizing, and it seems GD is the cause of it.
Thanks a lot.