How to install jpegoptim on Amazon Linux
Utility to optimize JPEG files, with MozJPEG v3.3.1
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | aarch64 | x86_64 | Version |
|---|---|---|---|---|
| Amazon Linux 2023 | Base | 1.5.6 | ||
| Amazon Linux 2012.03 | Base | — | 1.5.0 | |
| Amazon Linux 2 | Base | 1.5.6 |
Description
Jpegoptim is an utility to optimize JPEG files. Provides lossless optimization (based on optimizing the Huffman tables) and "lossy" optimization based on setting maximum quality factor.
Built for Amazon Linux.
Install
Base
Amazon Linux 2, 2012.03, 2023
jpegoptim on Amazon Linux 2, 2012.03, 2023
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install jpegoptim
Package downloads require an active GetPageSpeed subscription — one repository for jpegoptim and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install jpegoptim on Amazon Linux?
Add the GetPageSpeed repository, then install the jpegoptim package with your system package manager.
Which Amazon Linux versions is jpegoptim available for?
jpegoptim is available for Amazon Linux 2, 2012.03, 2023.