# 使用 Homebrew, apk, MacPorts, zypper 安装 jpeg

查看 jpeg 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:jpeg
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jpeg
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install jpeg
```

  证据: MacPorts ports tree: graphics/jpeg/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add jpeg
```

  证据: Alpine Linux edge package indexes: jpeg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- zypper (92%):

```sh
sudo zypper install libjpeg-turbo
```

  证据: openSUSE Tumbleweed package metadata: libjpeg-turbo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:jpeg
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/jpeg>
- **版本:** 10
- **来源摘要:** Image manipulation library
- **主页:** <https://www.ijg.org/>
- **上游文档:** <https://www.ijg.org/>
- **许可证:** IJG
- **源码归档:** <https://www.ijg.org/files/jpegsrc.v10.tar.gz>
- **已生成:** 2026-07-10T07:20:53+00:00

## 可执行文件

- cjpeg (cli)
- djpeg (cli)
- jpegtran (cli)
- rdjpgcom (cli)
- wrjpgcom (cli)
- cjpeg (别名)
- djpeg (别名)
- jpegtran (别名)
- rdjpgcom (别名)
- wrjpgcom (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-10
- 管理器版本: 10
- 本地数据: OK
- 上游仓库: https://www.ijg.org/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

The Homebrew `jpeg` formula represents the Independent JPEG Group's libjpeg software, one of the classic Unix image libraries behind JPEG encoding, decoding, and transformation tools. IJG describes itself as an informal group that writes and distributes a widely used free JPEG compression library, with the first version released on 7 October 1991.

### 项目历史

IJG's package grew around a portable C implementation of the JPEG standard, plus command-line tools such as `cjpeg`, `djpeg`, `jpegtran`, `rdjpgcom`, and `wrjpgcom`. Its README emphasizes portability, flexibility, and industrial-strength reuse rather than tutorial code, which explains why libjpeg became infrastructure rather than just a sample implementation.

The package also became a baseline for later JPEG implementations and forks. libjpeg-turbo maintains a reference repository of IJG code for comparison and benchmarking, while the IJG reference site frames libjpeg as the technical basis of a media format that remains massively deployed.

### 采用历史

IJG libjpeg spread because it gave Unix, desktop, and embedded software a royalty-free way to read and write JPEG files. Package managers expose both the library and its small CLI utilities, making it a dependency of image viewers, converters, web tooling, and batch-processing scripts.

The 6b ABI became especially important in distribution culture because many downstream projects and alternative implementations, including libjpeg-turbo and mozjpeg-compatible builds, preserved or targeted that interface.

### 使用方式

`cjpeg` and `djpeg` convert between JPEG and other image formats, `jpegtran` performs lossless transforms and transcoding, and `rdjpgcom`/`wrjpgcom` handle textual comments. Developers also link against libjpeg directly when adding JPEG support to applications.

### 为什么软件包爱好者会关心

For package maintainers, IJG JPEG is a canonical example of a tiny-looking formula that underpins a huge dependency graph. Its ABI history explains why distributions often care about which JPEG implementation satisfies `libjpeg` and why compatibility with IJG behavior still matters decades after the format became ordinary.

### 时间线

- 1991-10-07: IJG released the first version of its JPEG software.
- 1998-03-27: IJG release 6b established a long-lived compatibility target for downstream libraries and tools.
- 2024: The IJG reference site marked JPEG's 33rd anniversary and described ongoing libjpeg development.
- 2026-01-25: IJG release 10 was published.

### Related projects

- Related projects include libjpeg-turbo, mozjpeg, JPEG Club's IJG reference material, and the many CLI tools that build on libjpeg-compatible APIs.

### 来源

- <https://github.com/libjpeg-turbo/ijg>
- <https://jpegclub.org/reference/>
- <https://www.ijg.org/>


## 安全说明

没有找到 jpeg 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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

## 其他软件包管理器记录

- apk - jpeg - 9f-r0: normalized package name match | Alpine Linux edge package indexes: jpeg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Wrapper for libjpeg-turbo | https://www.ijg.org/
- apk - jpeg-dev - 9f-r0: normalized package name match | Alpine Linux edge package indexes: jpeg-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Wrapper for libjpeg-turbo-dev | https://www.ijg.org/
- apk - libjpeg - 9f-r0: normalized package name match | Alpine Linux edge package indexes: libjpeg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Wrapper for libjpeg-turbo | https://www.ijg.org/
- zypper - libjpeg-turbo - 3.1.4.1-83.2: normalized package name match | openSUSE Tumbleweed package metadata: libjpeg-turbo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A SIMD-accelerated library for manipulating JPEG image files | https://libjpeg-turbo.org/
- MacPorts - jpeg: normalized package name match | MacPorts ports tree: graphics/jpeg/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/zh-hans/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [jpegtran-bin](https://www.automicvault.com/zh-hans/pkg/npm/jpegtran-bin/) - Executable or command metadata overlaps with this package. Shared terms: image, jpeg, jpegtran.
- [jpeg-archive](https://www.automicvault.com/zh-hans/pkg/brew/jpeg-archive/) - Both packages work with overlapping file formats or content types. Shared terms: image, jpeg.
- [jpeg-turbo](https://www.automicvault.com/zh-hans/pkg/brew/jpeg-turbo/) - Both packages work with overlapping file formats or content types. Shared terms: image, jpeg.

## Combined YAML source

View the package source record on GitHub. [combined/jpeg.yml](https://github.com/automic-vault/db/blob/main/combined/jpeg.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
