# jpegoptim を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

jpegoptim のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:jpegoptim
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install jpegoptim
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jpegoptim
```

  証拠: MacPorts ports tree: graphics/jpegoptim/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add jpegoptim
```

  証拠: Alpine Linux edge package indexes: jpegoptim from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install jpegoptim
```

  証拠: Debian stable package indexes: jpegoptim from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install jpegoptim
```

  証拠: Fedora Rawhide package metadata: jpegoptim from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#jpegoptim
```

  証拠: nixpkgs package indexes: pkgs/by-name/jp/jpegoptim/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S jpegoptim
```

  証拠: Arch Linux sync databases: jpegoptim from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install jpegoptim
```

  証拠: openSUSE Tumbleweed package metadata: jpegoptim from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/jpegoptim
```

  証拠: Scoop official bucket manifest trees: bucket/jpegoptim.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id TimoKokkonen.Jpegoptim -e
```

  証拠: Windows Package Manager source index: TimoKokkonen.Jpegoptim from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:jpegoptim
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/jpegoptim>
- **バージョン:** 1.5.6
- **ソース概要:** Utility to optimize JPEG files
- **ホームページ:** <https://github.com/tjko/jpegoptim>
- **リポジトリ:** <https://github.com/tjko/jpegoptim>
- **ライセンス:** GPL-3.0-or-later
- **ソースアーカイブ:** <https://github.com/tjko/jpegoptim/releases/download/v1.5.6/jpegoptim-1.5.6.zip>
- **最終更新:** 2026-07-29T14:13:06+09:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- jpegoptim (cli)
- jpegoptim (エイリアス)

## 依存関係

- jpeg-turbo

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.5.6
- マネージャ更新日: 2026-07-29
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/tjko/jpegoptim
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

jpegoptim is Timo Kokkonen's long-running command-line optimizer for JPEG/JFIF files. It focuses on lossless Huffman-table optimization and optional lossy recompression controlled by quality or target-size flags.

### プロジェクトの歴史

The upstream README records copyright years beginning in 1996 and lists v1.0 as the first public release. The project was built around IJG libjpeg, with compatibility notes for libjpeg-turbo and mozjpeg, and it stayed close to the Unix tradition of a small binary that rewrites files in place unless directed otherwise.

The 1.2 and 1.3 series added metadata preservation and stripping controls, GNU autoconf support, progressive JPEG support, target-size compression, and better cross-platform handling. The 1.4 and 1.5 series added stdin/stdout workflows, parallel workers, safer marker handling, fuzzing integration, CI-built binaries, and options such as `--retry`, `--save-extra`, and `--auto-mode`.

### 採用の歴史

jpegoptim became a standard packaging target because web developers, image pipelines, and static-site build scripts needed a scriptable way to reduce JPEG size without changing formats. Its presence across Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, winget, and openSUSE reflects broad use in both Unix and cross-platform developer environments.

### 使われ方

The tool is commonly run over directories of JPEGs to reduce file size, strip or preserve metadata, convert progressive mode, or cap quality. Because it can preserve modification times and permissions and can emit CSV progress, it fits automation as well as one-off cleanup.

### パッケージ好きにとっての重要性

jpegoptim is notable because it turns a libjpeg-compatible encoder into a packaging-era workhorse: tiny CLI surface, old-school C portability, and enough knobs for web-performance pipelines. It also shows the practical boundary between lossless JPEG optimization and deliberate lossy recompression.

### タイムライン

- 1996: Copyright period begins in the upstream README.
- v1.0: First public release, as listed in the upstream history.
- v1.3.0: Added progressive JPEG support and target-size lossy optimization.
- 2022-09-15: v1.5.0 added `--workers` for parallel processing.
- 2025-09-15: v1.5.6 added `--retry`, `--save-extra`, `--auto-mode`, initial unit tests, and OSSFuzz integration.

### Related projects

- Related projects include IJG libjpeg, libjpeg-turbo, mozjpeg, jpeginfo, imageoptim-style GUI tools, and web image build pipelines.

### ソース

- <https://github.com/tjko/jpegoptim>
- <https://github.com/tjko/jpegoptim/releases>
- <https://raw.githubusercontent.com/tjko/jpegoptim/master/README>
- <https://raw.githubusercontent.com/tjko/jpegoptim/master/jpegoptim.1>
- <https://www.kokkonen.net/tjko/projects.html>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** jpegoptim
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Debian apt - jpegoptim - 1.4.7-1: normalized package name match | Debian stable package indexes: jpegoptim from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | utility to optimize jpeg files | http://www.kokkonen.net/tjko/projects.html
- Nix - jpegoptim: normalized package name match | nixpkgs package indexes: pkgs/by-name/jp/jpegoptim/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - jpegoptim - 1.4.7-1: normalized package name match | Ubuntu 24.04 LTS package indexes: jpegoptim from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | utility to optimize jpeg files | http://www.kokkonen.net/tjko/projects.html
- apk - jpegoptim - 1.5.6-r1: normalized package name match | Alpine Linux edge package indexes: jpegoptim from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | JPEG optimization utility | https://github.com/tjko/jpegoptim
- apk - jpegoptim-doc - 1.5.6-r1: normalized package name match | Alpine Linux edge package indexes: jpegoptim-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | JPEG optimization utility (documentation) | https://github.com/tjko/jpegoptim
- dnf - jpegoptim - 1.5.6-3.fc45: normalized package name match | Fedora Rawhide package metadata: jpegoptim from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Utility to optimize JPEG files | http://www.kokkonen.net/tjko/projects.html
- pacman - jpegoptim - 1.5.6-1: normalized package name match | Arch Linux sync databases: jpegoptim from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Jpeg optimisation utility | https://github.com/tjko/jpegoptim
- zypper - jpegoptim - 1.5.6-1.5: normalized package name match | openSUSE Tumbleweed package metadata: jpegoptim from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Utility for Optimizing JPEG Files | https://www.kokkonen.net/tjko/projects.html
- MacPorts - jpegoptim: normalized package name match | MacPorts ports tree: graphics/jpegoptim/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/jpegoptim: normalized package name match | Scoop official bucket manifest trees: bucket/jpegoptim.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - TimoKokkonen.Jpegoptim: normalized package name match | Windows Package Manager source index: TimoKokkonen.Jpegoptim from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://pkg.so/ja/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [jpeg-turbo](https://pkg.so/ja/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [pngquant](https://pkg.so/ja/brew/pngquant/) - Shares pkgdb curated category or tags: cli, image-optimization, lossy-compression, media.
- [oxipng](https://pkg.so/ja/brew/oxipng/) - Shares pkgdb curated category or tags: cli, compression, image-optimization, media.
- [optipng](https://pkg.so/ja/brew/optipng/) - Shares pkgdb curated category or tags: cli, image-optimization, media.
- [pngcrush](https://pkg.so/ja/brew/pngcrush/) - Shares pkgdb curated category or tags: cli, image-optimization, media.
- [caesiumclt](https://pkg.so/ja/brew/caesiumclt/) - Shares pkgdb curated category or tags: cli, image-optimization, jpeg, lossy-compression, media.
- [jpeginfo](https://pkg.so/ja/brew/jpeginfo/) - Shares pkgdb curated category or tags: cli, jpeg, media.
- [pngnq](https://pkg.so/ja/brew/pngnq/) - Shares pkgdb curated category or tags: cli, image-optimization, media.
- [jpegtran-bin](https://pkg.so/ja/npm/jpegtran-bin/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-optimization, jpeg, media.

## Combined YAML source

View the package source record on GitHub. [combined/jpegoptim.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jpegoptim.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
