PDA

View Full Version : How to install jhead in centos


Kolektor
10-10-2012, 06:17 PM
Hi, how to install jhead in centos and/or putty?

snakes1100
10-10-2012, 07:45 PM
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

Kolektor
10-23-2012, 03:25 PM
snakes1100, thank you so much for your help.
I am just having a small problem with ./configure and make && make install command, it is not working with me (centos5)

snakes1100
10-23-2012, 08:20 PM
the configure & make cmds are standard for the install, doesnt matter if its centos or not, post the errors from the terminal after you issue the ./configure cmd.

Kolektor
10-24-2012, 04:48 PM
hi snakes, here it is:

snakes1100
10-24-2012, 05:39 PM
Sorry, i didnt actually chk, jhead is just an executable binary, no need to do a install.

cd into jhead dir
just type "make"

You can just leave it were it is or move it to another dir, edit your program that needs it & enter the path to the jhead binary in the program.

Example
jhead binary path: /usr/local/src/jhead-2.95/jhead

Note: Original install post fixed as well.