Installing NetPBM - newbie help

Ok, so I’m trying to make use of a NetPBM function called “pamscale”. Turns out that Dreamhost’s version of NetPBM is 6 yrs old and doesn’t contain this function. They’ve told me that the only option is for me to install and build the new version of NetPBM under my user on the server.

I am mostly a front-end programmer, so the details of installation and compiling are confusing. Has anyone had luck installing NetPBM and is willing to walk me through the steps? I’m willing to learn, but just need some guidance.