Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageOptim::BinNotFoundError: jpegtran not found #49

Closed
tonidas opened this issue May 15, 2014 · 1 comment
Closed

ImageOptim::BinNotFoundError: jpegtran not found #49

tonidas opened this issue May 15, 2014 · 1 comment

Comments

@tonidas
Copy link

tonidas commented May 15, 2014

This error was appearing to me when I installed image_optim dependencies using the tutorial in the wiki:

ImageOptim::BinNotFoundError: `jpegtran` not found

The problem is that in Amazon AMI x86 64bits (The default image for Amazon EC2 instance) the binary jpegtran comes only in the libjpeg-turbo-utils package!

Here is my tutorial for installing the image_optim dependencies on Amazon EC2:

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/advancecomp-1.15-12.el6.x86_64.rpm

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/gifsicle-1.60-1.el6.x86_64.rpm

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/jhead-2.90-2.el6.x86_64.rpm

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/jpegoptim-1.3.0-1.el6.x86_64.rpm

sudo yum install -y libjpeg-turbo libjpeg-turbo-utils

sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/optipng-0.6.4-1.el6.x86_64.rpm

sudo yum install -y pngcrush

Cheers

@toy toy closed this as completed in b35de6f May 21, 2014
@toy
Copy link
Owner

toy commented May 21, 2014

Thanks, I hope instruction I've added will be enough in most cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants