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

How to install image_optim on Ubuntu? #104

Closed
confile opened this issue Aug 30, 2015 · 6 comments
Closed

How to install image_optim on Ubuntu? #104

confile opened this issue Aug 30, 2015 · 6 comments

Comments

@confile
Copy link

confile commented Aug 30, 2015

According to the readme I did:

sudo apt-get install -y advancecomp gifsicle jhead jpegoptim libjpeg-progs optipng pngcrush pngquant

Then I tried: image_optim but I get:

-bash: image_optim: command not found
  1. Is there anything else I have to do on ubuntu?
  2. Do I have to install additional tools like pngout on ubuntu? If yes how do I set the path for them on ubuntu?

@toy You help is appreciated.

@toy
Copy link
Owner

toy commented Aug 30, 2015

gem install image_optim image_optim_pack

You man need to prefix the command with sudo.

@confile
Copy link
Author

confile commented Aug 30, 2015

Why do I have to use this:

sudo apt-get install -y advancecomp gifsicle jhead jpegoptim libjpeg-progs optipng pngcrush pngquant

@toy
Copy link
Owner

toy commented Aug 30, 2015

There is a section Binaries pack just before Linux - Debian/Ubuntu, so the easiest way to install nearly all tolls is to use image_optim_pack, but all of them can be also installed manually. I've already created #98 to make readme clearer, like telling in every installing section to first check image_optim_pack. I'm near the point when I will have time for this.

@confile
Copy link
Author

confile commented Aug 31, 2015

Is there any way to skip png optimization?

@toy
Copy link
Owner

toy commented Aug 31, 2015

Depends on usage: using command line tool or ImageOptim interface you can pass only non png images, otherwise disabling all png optimizers (you can check by running image_optim --info).

@confile
Copy link
Author

confile commented Sep 4, 2015

Thanks

@confile confile closed this as completed Sep 4, 2015
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