简体   繁体   中英

How to Install gifsicle, jpegtran, and optipng in AWS Ec2

I am Using a Extension to Optimize Images for Magento . Extension Need to Install gifsicle, jpegtran, and optipng to my Server But i don't know how i will Install & get exact path where installed . Anyone help me to Do this

If it's Ubuntu or Debian, this should work

apt-get update
apt-get install libjpeg-progs
apt-get install gifsicle
apt-get install optipng 

I installed jpegtran on CentOS 7. I find below links are related to your problem. Are you looking for something like that ?

application's path from command line

How To Install JPEGtran

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM