# 使用 Homebrew 安装 grokj2k

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

## 安装

```sh
sudo av install brew:grokj2k
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install grokj2k
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:grokj2k
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/grokj2k>
- **版本:** 20.3.9
- **来源摘要:** JPEG 2000 Library
- **主页:** <https://github.com/GrokImageCompression/grok>
- **仓库:** <https://github.com/GrokImageCompression/grok>
- **许可证:** AGPL-3.0-or-later
- **源码归档:** <https://github.com/GrokImageCompression/grok/releases/download/v20.3.8/source-full.tar.gz>
- **最后更新:** 2026-08-04T06:59:41Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- grk_compress (cli)
- grk_decompress (cli)
- grk_dump (cli)
- grk_transcode (cli)
- grk_compress (别名)
- grk_decompress (别名)
- grk_dump (别名)
- grk_transcode (别名)

## 依赖

- fmt
- jpeg-turbo
- libpng
- libtiff
- little-cms2
- xz
- zstd

## 构建依赖

- cmake
- doxygen
- pkgconf

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 20.3.9
- 管理器更新时间: 2026-08-04
- 本地数据: OK
- 上游仓库: https://github.com/GrokImageCompression/grok
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

grokj2k packages Grok, an open-source JPEG 2000 codec focused on fast encoding, decoding, transcoding, and modern JPEG 2000 features.

### 项目历史

The Grok repository describes the project as an AGPL-licensed JPEG 2000 codec. Its command-line tools include compression, decompression, dumping, and packet-level transcoding utilities for JP2 and J2K workflows.

The project presents itself as a high-performance codec with support for High Throughput JPEG 2000, random-access decoding markers, cloud/S3-oriented I/O, metadata handling, broad pixel-format support, and bindings for several languages.

### 采用历史

Grok's packaging history is tied to specialist image, geospatial, preservation, and scientific workflows where JPEG 2000 remains useful. The upstream README specifically notes integration into GDAL, making the package relevant to users who need JPEG 2000 support through geospatial tooling.

### 使用方式

Package users typically reach it through utilities such as `grk_compress`, `grk_decompress`, `grk_dump`, and `grk_transcode`. The transcoder can rewrite JPEG 2000 files at packet level for operations such as adding TLM and PLT markers without a full decode/re-encode cycle.

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

For package nerds, grokj2k sits in the same small but important corner as OpenJPEG, Kakadu, JasPer, and image-library delegates: it is not a daily shell toy, but it determines whether image stacks can process JP2/J2K data reproducibly from system packages.

### 时间线

- 2016: The GitHub repository was created.
- 2020s: The project emphasized high-performance JPEG 2000, HTJ2K, transcoding, cloud I/O, and fuzz testing.
- 2020s: Homebrew packaged the command-line tools as `grokj2k`.

### Related projects

- Related projects include OpenJPEG, Kakadu, JasPer, GDAL's JP2 drivers, image servers that consume JPEG 2000, and preservation workflows that use JP2/J2K assets.

### 来源

- <https://api.github.com/repos/GrokImageCompression/grok>
- <https://api.github.com/repos/GrokImageCompression/grok/releases>
- <https://gdal.org/en/stable/drivers/raster/jp2grok.html>
- <https://github.com/GrokImageCompression/grok>
- <https://github.com/GrokImageCompression/grok#readme>


## 安全说明

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


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** grokj2k
- **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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://pkg.so/zh-hans/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [xz](https://pkg.so/zh-hans/brew/xz/) - Runtime dependency declared by Homebrew.
- [zstd](https://pkg.so/zh-hans/brew/zstd/) - Runtime dependency declared by Homebrew.
- [libpng](https://pkg.so/zh-hans/brew/libpng/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://pkg.so/zh-hans/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [libtiff](https://pkg.so/zh-hans/brew/libtiff/) - Runtime dependency declared by Homebrew.
- [little-cms2](https://pkg.so/zh-hans/brew/little-cms2/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [doxygen](https://pkg.so/zh-hans/brew/doxygen/) - Build dependency declared by Homebrew.
- [ffmpeg](https://pkg.so/zh-hans/brew/ffmpeg/) - Shares pkgdb curated category or tags: cli, media, transcoding.
- [openjph](https://pkg.so/zh-hans/brew/openjph/) - Shares pkgdb curated category or tags: cli, image-codec, media.
- [jpeg-xl](https://pkg.so/zh-hans/brew/jpeg-xl/) - Shares pkgdb curated category or tags: cli, image-codec, image-compression, media.
- [openjpeg](https://pkg.so/zh-hans/brew/openjpeg/) - Shares pkgdb curated category or tags: cli, image-codec, media.
- [libheif](https://pkg.so/zh-hans/brew/libheif/) - Shares pkgdb curated category or tags: cli, image-codec, media.
- [libavif](https://pkg.so/zh-hans/brew/libavif/) - Shares pkgdb curated category or tags: cli, image-codec, media.
- [jasper](https://pkg.so/zh-hans/brew/jasper/) - Shares pkgdb curated category or tags: cli, image-codec, media.
- [jbig2dec](https://pkg.so/zh-hans/brew/jbig2dec/) - Shares pkgdb curated category or tags: cli, image-compression, media.
- [jbig2enc](https://pkg.so/zh-hans/brew/jbig2enc/) - Both packages work with overlapping file formats or content types. Shared terms: cli, compression, image, image-compression, jpeg.

## Combined YAML source

View the package source record on GitHub. [combined/grokj2k.yml](https://github.com/mxcl/pkgdb/blob/main/combined/grokj2k.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
- cross-ecosystem install command graph
