Automic VaultAutomic Vault

brew

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

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install gettext

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install gettext

MacPorts ports tree · devel/gettext/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add gettext

Alpine Linux edge package indexes · gettext · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install gettext

Debian stable package indexes · gettext · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install gettext

Fedora Rawhide package metadata · gettext · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#gettext

nixpkgs package indexes · gettext · ソース: raw.githubusercontent.com

Arch Linux pacman確認済み · 92%
sudo pacman -S gettext

Arch Linux sync databases · gettext · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install gettext-runtime

openSUSE Tumbleweed package metadata · gettext-runtime · ソース: download.opensuse.org

Windows

Scoop確認済み · 92%
scoop install main/gettext

Scoop official bucket manifest trees · bucket/gettext.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id mlocati.GetText -e

Windows Package Manager source index · mlocati.GetText · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

GNU internationalization (i18n) and localization (l10n) library

コマンドとエイリアス

  • autopoint
  • envsubst
  • gettext
  • gettext.sh
  • gettextize
  • msgattrib
  • msgcat
  • msgcmp
  • msgcomm
  • msgconv
  • msgen
  • msgexec
  • msgfilter
  • msgfmt
  • msggrep
  • msginit
  • msgmerge
  • msgpre
  • msgunfmt
  • msguniq
  • ngettext
  • po-fetch
  • printf_gettext
  • printf_ngettext
  • recode-sr-latin
  • spit
  • xgettext

履歴

プロジェクトの歴史と使われ方

GNU gettext is the GNU internationalization and localization toolkit for message catalogs. It supplies runtime APIs, command-line tools, PO and MO file workflows, and maintainer and translator conventions used by many Unix-like software projects.

プロジェクトの歴史

GNU's own history traces the work to 1994 internationalization experiments around GNU fileutils and the `glocale` effort. Ulrich Drepper rewrote the approach in April 1995, and the package went through names such as `msgutils` and `nlsutils` before `gettext` was accepted as the GNU package name.

The first official GNU gettext release, numbered 0.7, appeared in July 1995 and included PO mode. In 1997, GNU libc 2.0 included the `gettext`, `textdomain`, and `bindtextdomain` functions; in 2000, plural-form handling via `ngettext` entered GNU libc, and Bruno Haible took over GNU gettext maintenance.

採用の歴史

gettext became central to GNU and Unix-like localization because it separates programming from translation: source strings are marked in code, `xgettext` extracts templates, translators edit PO files, `msgmerge` refreshes them across source changes, and `msgfmt` compiles machine-readable catalogs. Its workflow gave maintainers, translators, distributors, and users a shared file format and toolchain.

使われ方

Practitioners use gettext by marking translatable strings in program sources, initializing a text domain, extracting POT templates, maintaining language-specific PO files, compiling MO files, and installing catalogs under locale directories. Shell users and build systems also use utilities such as `gettext`, `ngettext`, `xgettext`, `msginit`, `msgmerge`, `msgfmt`, `msgattrib`, `msgcat`, and `envsubst`.

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

For package ecosystems, gettext is infrastructure rather than an optional convenience. Source distributions often carry POT and PO files, binary packages install compiled catalogs, and build recipes depend on tools such as `autopoint`, `gettextize`, `msgfmt`, and `xgettext` to keep translation workflows reproducible.

タイムライン

  • 1994: GNU fileutils internationalization work led to broader GNU native-language-support experiments.
  • 1995: Ulrich Drepper wrote GNU gettext and the first official release, 0.7, appeared in July.
  • 1997: GNU libc 2.0 included gettext-related functions.
  • 2000: `ngettext` plural-form handling entered GNU libc and Bruno Haible took over GNU gettext maintenance.
  • 2001: GNU libc 2.2.x was released with full internationalization support according to the GNU gettext manual.

Related projects

  • GNU gettext is tied to GNU libc, the GNU Translation Project, PO mode, Autotools workflows, and localization tools that consume or convert PO files.

セキュリティ状態

リスクレベル: グリーン

library-like package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • library-like package without higher-risk signals

信号

  • metadata:library-like

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 2 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
autopointcliグローバル実行可能ファイル
envsubstcliグローバル実行可能ファイル
gettextcliグローバル実行可能ファイル
gettext.shcliグローバル実行可能ファイル
gettextizecliグローバル実行可能ファイル
msgattribcliグローバル実行可能ファイル
msgcatcliグローバル実行可能ファイル
msgcmpcliグローバル実行可能ファイル
msgcommcliグローバル実行可能ファイル
msgconvcliグローバル実行可能ファイル
msgencliグローバル実行可能ファイル
msgexeccliグローバル実行可能ファイル
msgfiltercliグローバル実行可能ファイル
msgfmtcliグローバル実行可能ファイル
msggrepcliグローバル実行可能ファイル
msginitcliグローバル実行可能ファイル
msgmergecliグローバル実行可能ファイル
msgprecliグローバル実行可能ファイル
msgunfmtcliグローバル実行可能ファイル
msguniqcliグローバル実行可能ファイル
ngettextcliグローバル実行可能ファイル
po-fetchcliグローバル実行可能ファイル
printf_gettextcliグローバル実行可能ファイル
printf_ngettextcliグローバル実行可能ファイル
recode-sr-latincliグローバル実行可能ファイル
spitcliグローバル実行可能ファイル
xgettextcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版1.0
マネージャ更新日2026-07-04
ローカルデータOK
上流not checked
検出された最新未検出

https://www.gnu.org/software/gettext/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:gettext
バージョン1.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/gettext
ホームページhttps://www.gnu.org/software/gettext/
リポジトリhttps://git.savannah.gnu.org/cgit/gettext.git
上流ドキュメントhttps://www.gnu.org/software/gettext/FAQ.html
ライセンスGPL-3.0-or-later AND LGPL-2.1-or-later
ソースアーカイブhttps://ftpmirror.gnu.org/gnu/gettext/gettext-1.0.tar.gz
最終更新2026-07-04T09:43:28Z
Pulseupdated
依存関係json-c, libunistring
macOS 提供ライブラリcurl, libxml2, ncurses
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegettext
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

autopoint 0.23.1-2

tool for setting up gettext infrastructure in a source package

https://www.gnu.org/software/gettext/

sudo apt install autopoint
  • Section: devel
  • Architecture: all
  • Source Package: gettext
  • 1 依存関係
  • normalized package name match
  • 一致条件: Gettext
Debian stable package indexes · deb.debian.org · Debian stable package indexes: autopoint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gettext 0.23.1-2

GNU Internationalization utilities

https://www.gnu.org/software/gettext/

sudo apt install gettext
  • Section: devel
  • Architecture: amd64
  • 8 依存関係
  • 8 任意依存関係
  • normalized package name match
  • 一致条件: Gettext
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gettext from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gettext-base 0.23.1-2

GNU Internationalization utilities for the base system

https://www.gnu.org/software/gettext/

sudo apt install gettext-base
  • Section: utils
  • Architecture: amd64
  • Source Package: gettext
  • 1 依存関係
  • normalized package name match
  • 一致条件: Gettext
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gettext-base from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gettext-doc 0.23.1-2

Documentation for GNU gettext

https://www.gnu.org/software/gettext/

sudo apt install gettext-doc
  • Section: doc
  • Architecture: all
  • Source Package: gettext
  • normalized package name match
  • 一致条件: Gettext
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gettext-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gettext-el 0.23.1-2

Emacs mode for editing gettext .po files

https://www.gnu.org/software/gettext/

sudo apt install gettext-el
  • Section: lisp
  • Architecture: all
  • Source Package: gettext
  • 3 依存関係
  • normalized package name match
  • 一致条件: Gettext
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gettext-el from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libasprintf-dev 0.23.1-2

use fprintf and friends in C++ - static libraries and headers

https://www.gnu.org/software/gettext/

sudo apt install libasprintf-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gettext
  • 1 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Gettext
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libasprintf-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libasprintf0v5 0.23.1-2

use fprintf and friends in C++ - shared library

https://www.gnu.org/software/gettext/

sudo apt install libasprintf0v5
  • Section: libs
  • Architecture: amd64
  • Source Package: gettext
  • 2 依存関係
  • normalized package name match
  • 一致条件: Gettext
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libasprintf0v5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgettextpo-dev 0.23.1-2

process PO files - static libraries and headers

https://www.gnu.org/software/gettext/

sudo apt install libgettextpo-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gettext
  • 1 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Gettext
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgettextpo-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgettextpo0 0.23.1-2

process PO files - shared library

https://www.gnu.org/software/gettext/

sudo apt install libgettextpo0
  • Section: libs
  • Architecture: amd64
  • Source Package: gettext
  • 2 依存関係
  • normalized package name match
  • 一致条件: Gettext
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgettextpo0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gettext

nix profile install nixpkgs#gettext
  • normalized package name match
  • 一致条件: Gettext
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: gettext from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

autopoint 0.21-14ubuntu2

tool for setting up gettext infrastructure in a source package

https://www.gnu.org/software/gettext/

sudo apt install autopoint
  • Section: devel
  • Architecture: all
  • Source Package: gettext
  • 1 依存関係
  • normalized package name match
  • 一致条件: Gettext
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: autopoint from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

gettext 0.21-14ubuntu2

GNU Internationalization utilities

https://www.gnu.org/software/gettext/

sudo apt install gettext
  • Section: devel
  • Architecture: amd64
  • 5 依存関係
  • 7 任意依存関係
  • normalized package name match
  • 一致条件: Gettext
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gettext from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

gettext-base 0.21-14ubuntu2

GNU Internationalization utilities for the base system

https://www.gnu.org/software/gettext/

sudo apt install gettext-base
  • Section: utils
  • Architecture: amd64
  • Source Package: gettext
  • 1 依存関係
  • normalized package name match
  • 一致条件: Gettext
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gettext-base from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

gettext-doc 0.21-14ubuntu2

Documentation for GNU gettext

https://www.gnu.org/software/gettext/

sudo apt install gettext-doc
  • Section: doc
  • Architecture: all
  • Source Package: gettext
  • normalized package name match
  • 一致条件: Gettext
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gettext-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

gettext-el 0.21-14ubuntu2

Emacs mode for editing gettext .po files

https://www.gnu.org/software/gettext/

sudo apt install gettext-el
  • Section: universe/lisp
  • Architecture: all
  • Source Package: gettext
  • 3 依存関係
  • normalized package name match
  • 一致条件: Gettext
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gettext-el from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libasprintf-dev 0.21-14ubuntu2

use fprintf and friends in C++ - static libraries and headers

https://www.gnu.org/software/gettext/

sudo apt install libasprintf-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gettext
  • 1 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Gettext
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libasprintf-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment