Search code examples
linuxpathjpegcentos6image-compression

How to install jpegrescan on Centos 6?


Id like to use jpegrescan on my Centos 6 linux install, both on its own and as part of Picopt.

Unfortunately I can't seem to get it work with either. The Picopt instructions just vaguely say it needs to be "in path" though I'm not sure where that is?

I've tried dropping in various places such as /usr/bin /usr/local/bin - but I don't get the jpegrescan command, and nor does picopt find it to use...

Can anyone advise?


Solution

  • After getting the jpegrescan Perl script and making it executable, you also need to install the File::Slurp Perl module like so:

    yum install perl-File-Slurp