# eccodes を Homebrew, apk, dnf, Nix, apt, MacPorts でインストール

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

## インストール

```sh
sudo av install brew:eccodes
```

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

### macOS

- Homebrew (100%):

```sh
brew install eccodes
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ecCodes
```

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

### Linux

- apk (92%):

```sh
sudo apk add eccodes
```

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

- dnf (92%):

```sh
sudo dnf install eccodes
```

  証拠: Fedora Rawhide package metadata: eccodes 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#eccodes
```

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

- Debian apt (92%):

```sh
sudo apt install libeccodes-data
```

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

## パッケージ情報

- **パッケージキー:** brew:eccodes
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/eccodes>
- **バージョン:** 2.48.0
- **ソース概要:** Decode and encode messages in the GRIB 1/2 and BUFR 3/4 formats
- **ホームページ:** <https://confluence.ecmwf.int/display/ECC>
- **上流ドキュメント:** <https://confluence.ecmwf.int/display/ECC>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://confluence.ecmwf.int/download/attachments/45757960/eccodes-2.48.0-Source.tar.gz>
- **最終更新:** 2026-07-15T21:02:11Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- bufr_compare (cli)
- bufr_compare_dir (cli)
- bufr_copy (cli)
- bufr_count (cli)
- bufr_dump (cli)
- bufr_filter (cli)
- bufr_get (cli)
- bufr_index_build (cli)
- bufr_ls (cli)
- bufr_set (cli)
- codes_bufr_filter (cli)
- codes_config (cli)
- codes_count (cli)
- codes_export_resource (cli)
- codes_info (cli)
- codes_parser (cli)
- codes_split_file (cli)
- grib2ppm (cli)
- grib_compare (cli)
- grib_copy (cli)
- grib_count (cli)
- grib_dump (cli)
- grib_filter (cli)
- grib_get (cli)
- grib_get_data (cli)
- grib_histogram (cli)
- grib_index_build (cli)
- grib_ls (cli)
- grib_set (cli)
- grib_to_netcdf (cli)
- gts_compare (cli)
- gts_copy (cli)
- gts_count (cli)
- gts_dump (cli)
- gts_filter (cli)
- gts_get (cli)
- gts_ls (cli)
- bufr_compare (エイリアス)
- bufr_compare_dir (エイリアス)
- bufr_copy (エイリアス)
- bufr_count (エイリアス)
- bufr_dump (エイリアス)
- bufr_filter (エイリアス)
- bufr_get (エイリアス)
- bufr_index_build (エイリアス)
- bufr_ls (エイリアス)
- bufr_set (エイリアス)
- codes_bufr_filter (エイリアス)
- codes_config (エイリアス)
- codes_count (エイリアス)
- codes_export_resource (エイリアス)
- codes_info (エイリアス)
- codes_parser (エイリアス)
- codes_split_file (エイリアス)
- grib2ppm (エイリアス)
- grib_compare (エイリアス)
- grib_copy (エイリアス)
- grib_count (エイリアス)
- grib_dump (エイリアス)
- grib_filter (エイリアス)
- grib_get (エイリアス)
- grib_get_data (エイリアス)
- grib_histogram (エイリアス)
- grib_index_build (エイリアス)
- grib_ls (エイリアス)
- grib_set (エイリアス)
- grib_to_netcdf (エイリアス)
- gts_compare (エイリアス)
- gts_copy (エイリアス)
- gts_count (エイリアス)
- gts_dump (エイリアス)
- gts_filter (エイリアス)
- gts_get (エイリアス)
- gts_ls (エイリアス)

## 依存関係

- gcc
- libaec
- libpng
- netcdf
- openjpeg

## ビルド依存関係

- cmake

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.48.0
- マネージャ更新日: 2026-07-15
- ローカルデータ: OK
- 上流リポジトリ: https://confluence.ecmwf.int/display/ECC
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

ecCodes is ECMWF's library and command-line toolkit for decoding and encoding meteorological message formats, especially GRIB and BUFR. It is package-manager significant because it is infrastructure: many weather, climate, forecasting, and data-conversion workflows depend on having its tools and libraries installed correctly.

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

ECMWF describes ecCodes as a package providing an API and command-line tools for WMO GRIB editions 1 and 2, BUFR editions 3 and 4, and decoding of WMO GTS abbreviated headers. The repository README says it provides C, Fortran 90, and Python interfaces along with quick command-line access to messages.

The project is explicitly the evolution of ECMWF's older GRIB-API. ECMWF's documentation says ecCodes fully provides GRIB-API functionality for GRIB encoding and decoding, keeps the C, Fortran 90, and Python interfaces, drops the old Fortran 77 interface, and adds a codes_ API that works across supported message formats.

ECMWF marks ecCodes as the primary GRIB encoding/decoding package used at ECMWF and notes that GRIB-API has not been maintained since December 2018. That replacement history is central to ecCodes adoption: existing GRIB-API users were strongly advised to migrate, with compatibility maintained where possible.

The GitHub repository was created in December 2018 and is still active, with the README carrying ECMWF software maturity badges and 2026 releases in the 2.4x series.

### 採用の歴史

ecCodes' adoption follows the operational meteorology stack rather than the usual application-CLI pattern. It is used where GRIB and BUFR data are read, written, inspected, filtered, converted, or bridged into Python, Fortran, C, and NetCDF workflows.

Package metadata shows ecCodes available in Homebrew, Alpine, Fedora-family packaging, MacPorts, Nix, and Debian/Ubuntu data packages. That broad packaging matters because meteorological tools often expect ecCodes definitions and command-line programs such as grib_ls, grib_get, grib_set, bufr_dump, and grib_to_netcdf to be present.

### 使われ方

Users commonly install ecCodes for command-line inspection and transformation of GRIB/BUFR files, for language bindings, or as a dependency of higher-level weather-data software. The command suite includes GRIB, BUFR, GTS, and generic codes_* tools.

The migration documentation explains that many GRIB-API functions and tools were retained or mapped into ecCodes, while some experimental or superseded tools were removed. That makes ecCodes both a compatibility layer for old workflows and the maintained path forward.

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

ecCodes is the kind of package that quietly makes scientific software distributions work. It ships binary tools, libraries, format definitions, samples, and bindings around specialized international data formats; small packaging mistakes can break large data-processing pipelines.

It is also a case study in successor packaging: GRIB-API users needed a maintained replacement that preserved enough CLI and ABI/API behavior to make migration practical while adding BUFR and GTS coverage under one key/value access model.

### タイムライン

- 2005: ECMWF copyright range for the software begins.
- 2018: ecCodes GitHub repository created; GRIB-API maintenance ends in December 2018.
- 2021-2022: Public GitHub releases show active 2.x release cadence.
- 2026: ecCodes 2.47.0 released and repository remains active.

### Related projects

- GRIB-API is the direct predecessor and compatibility target for much of ecCodes' GRIB functionality.
- CodesUI, mentioned in ECMWF's ecCodes documentation, is a related user interface for ecCodes.
- Higher-level meteorological software commonly pairs ecCodes with Python bindings, Fortran/C applications, and conversion tools such as grib_to_netcdf.

### ソース

- <https://github.com/ecmwf/eccodes>
- <https://raw.githubusercontent.com/ecmwf/eccodes/develop/README.md>
- <https://confluence.ecmwf.int/display/ECC/ecCodes+Home>
- <https://confluence.ecmwf.int/display/ECC/What+is+ecCodes>
- <https://confluence.ecmwf.int/display/ECC/GRIB-API+migration>
- <https://github.com/ecmwf/eccodes/releases>
- <https://api.github.com/repos/ecmwf/eccodes>


## セキュリティノート

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:** eccodes
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - libeccodes-data - 2.41.0-1: normalized package name match | Debian stable package indexes: libeccodes-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GRIB and BUFR enecoding/encoding software library - data | https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
- Debian apt - libeccodes-dev - 2.41.0-1: normalized package name match | Debian stable package indexes: libeccodes-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GRIB and BUFR decoding/encoding software library (development) | https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
- Debian apt - libeccodes-doc - 2.41.0-1: normalized package name match | Debian stable package indexes: libeccodes-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GRIB decoding/encoding software (documentation) | https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
- Debian apt - libeccodes-tools - 2.41.0-1: normalized package name match | Debian stable package indexes: libeccodes-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GRIB decoding/encoding software (utilities) | https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
- Debian apt - libeccodes0 - 2.41.0-1: normalized package name match | Debian stable package indexes: libeccodes0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GRIB and BUFR enecoding/encoding software library | https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
- Nix - eccodes: normalized package name match | nixpkgs package indexes: pkgs/by-name/ec/eccodes/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libeccodes-data - 2.34.1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libeccodes-data from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GRIB and BUFR enecoding/encoding software library - data | https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
- Ubuntu apt - libeccodes-dev - 2.34.1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libeccodes-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GRIB and BUFR decoding/encoding software library (development) | https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
- Ubuntu apt - libeccodes-doc - 2.34.1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libeccodes-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GRIB decoding/encoding software (documentation) | https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
- Ubuntu apt - libeccodes-tools - 2.34.1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libeccodes-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GRIB decoding/encoding software (utilities) | https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
- Ubuntu apt - libeccodes0 - 2.34.1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libeccodes0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GRIB and BUFR enecoding/encoding software library | https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
- apk - eccodes - 2.48.0-r0: normalized package name match | Alpine Linux edge package indexes: eccodes from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | API and tools for decoding and encoding WMO meteorological message formats | https://github.com/ecmwf/eccodes
- dnf - eccodes - 2.48.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: eccodes from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | WMO data format decoding and encoding | https://confluence.ecmwf.int/display/ECC/ecCodes+Home
- dnf - eccodes-data - 2.48.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: eccodes-data from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Data needed by the eccodes library and tools | https://confluence.ecmwf.int/display/ECC/ecCodes+Home
- dnf - eccodes-devel - 2.48.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: eccodes-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Contains ecCodes development files | https://confluence.ecmwf.int/display/ECC/ecCodes+Home
- dnf - eccodes-doc - 2.48.0-1.fc45: normalized package name match | Fedora Rawhide package metadata: eccodes-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Documentation and example code | https://confluence.ecmwf.int/display/ECC/ecCodes+Home


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://pkg.so/ja/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [libpng](https://pkg.so/ja/brew/libpng/) - Runtime dependency declared by Homebrew.
- [gcc](https://pkg.so/ja/brew/gcc/) - Runtime dependency declared by Homebrew.
- [openjpeg](https://pkg.so/ja/brew/openjpeg/) - Runtime dependency declared by Homebrew.
- [netcdf](https://pkg.so/ja/brew/netcdf/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/ja/brew/cmake/) - Build dependency declared by Homebrew.
- [cdo](https://pkg.so/ja/brew/cdo/) - Popular package that depends on this formula.
- [metview](https://pkg.so/ja/brew/metview/) - Popular package that depends on this formula.
- [magics](https://pkg.so/ja/brew/magics/) - Popular package that depends on this formula.
- [cdi](https://pkg.so/ja/brew/cdi/) - Popular package that depends on this formula.
- [base91](https://pkg.so/ja/brew/base91/) - Shares pkgdb curated category or tags: cli, data, decoding, encoding.
- [gdal](https://pkg.so/ja/brew/gdal/) - Shares pkgdb curated category or tags: cli, data, data-formats.
- [sqlite](https://pkg.so/ja/brew/sqlite/) - Shares pkgdb curated category or tags: cli, data.
- [protobuf](https://pkg.so/ja/brew/protobuf/) - Shares pkgdb curated category or tags: cli, data.
- [bzip2](https://pkg.so/ja/brew/bzip2/) - Shares pkgdb curated category or tags: cli, data.
- [redis](https://pkg.so/ja/brew/redis/) - Shares pkgdb curated category or tags: cli, data.
- [gdbm](https://pkg.so/ja/brew/gdbm/) - Shares pkgdb curated category or tags: cli, data.

## Combined YAML source

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