Installing this component will require actually compiling code. The first step is to remove any existing versions of the library. This can be done with the following command
sudo rm /usr/local/lib/libjpeg.dylib
Now we will unpack, compile, and install the library. Simply navigate to the directory where you download the .tar.gz file and type the following
tar xvzf jpegsrc.v6b.tar.gz
cd jpeg-6b
./configure make
sudo make install-lib
Unfortunately, I'm not able to be at my computer long enough today to finish this. Will add the rest of this in the next couple days.