cd /usr/local/src or whatever dir you want
wget
http://www.sentex.net/~mwandel/jhead/jhead-2.95.tar.gz
tar xzf jhead*
cd jhead*
make
point your program to the jhead binary
/usr/local/src/jhead-2.95/jhead
You may need to make it executable, depends on the system, use the following cmd if the file was created with 775 perms.
chmod +x jhead
Verify jhead is responding:
jhead -V