macOS
brew install gflagslocal Homebrew formula metadata
sudo port install gflagsMacPorts ports tree · devel/gflags/Portfile · ソース: api.github.com
brew / 順位 443
gflags のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install gflagslocal Homebrew formula metadata
sudo port install gflagsMacPorts ports tree · devel/gflags/Portfile · ソース: api.github.com
sudo apk add gflagsAlpine Linux edge package indexes · gflags · ソース: dl-cdn.alpinelinux.org
sudo dnf install gflagsFedora Rawhide package metadata · gflags · ソース: dl.fedoraproject.org
nix profile install nixpkgs#gflagsnixpkgs package indexes · pkgs/by-name/gf/gflags/package.nix · ソース: api.github.com
sudo pacman -S gflagsArch Linux sync databases · gflags · ソース: geo.mirror.pkgbuild.com
sudo zypper install gflagsopenSUSE Tumbleweed package metadata · gflags · ソース: download.opensuse.org
sudo apt install libgflags-devDebian stable package indexes · libgflags-dev · ソース: deb.debian.org
概要
Library for processing command-line flags
履歴
gflags is the open-source C++ command-line flags library that began as Google Commandline Flags. Its distinguishing design is that flag definitions can live in the source file that uses them, with the library collecting, parsing, validating, and documenting those flags for an executable.
The changelog records a Google Inc. 0.1 release in December 2006, followed by 1.0 in October 2008 and several google-gflags releases through 2011. In January 2012, the project was renamed from google-gflags to gflags as Google stepped back from ownership and Andreas Schuh became maintainer.
gflags spread through C++ infrastructure because it offered a Google-style alternative to getopt-like parsers: each library or translation unit could declare its own flags, while users still received unified help output and parsing behavior. Later releases emphasized package and build-system integration, including CMake, Bazel, pkg-config, Homebrew, Debian/Ubuntu packages, and vcpkg.
Practitioners add `DEFINE_*` and `DECLARE_*` macros in C++ code, link the library, call the parser during program startup, and then read `FLAGS_name` variables from the relevant code. The installation docs cover use through distro packages, Homebrew, Bazel, vcpkg, and CMake.
gflags matters to package maintainers because it is both a runtime library and a build-system integration target for many C++ projects. The long namespace transition from `google` to `gflags`, plus compatibility for projects such as glog, made ABI and include-path behavior unusually important.
セキュリティ状態
library-like package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
gflags_completions.sh | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:gflags |
|---|---|
| バージョン | 2.3.1 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://gflags.github.io/gflags/ |
| リポジトリ | https://github.com/gflags/gflags |
| 最終更新 | 2026-07-22T19:39:32Z |
| Pulse | updated |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
libgflags-dev 2.2.2-2
commandline flags module for C++ (development files)
https://gflags.github.io/gflags/
sudo apt install libgflags-devlibgflags-doc 2.2.2-2
documentation of gflags
https://gflags.github.io/gflags/
sudo apt install libgflags-doclibgflags2.2 2.2.2-2
commandline flags module for C++ (shared library)
https://gflags.github.io/gflags/
sudo apt install libgflags2.2gflags
nix profile install nixpkgs#gflagslibgflags-dev 2.2.2-2build1
commandline flags module for C++ (development files)
https://gflags.github.io/gflags/
sudo apt install libgflags-devlibgflags-doc 2.2.2-2build1
documentation of gflags
https://gflags.github.io/gflags/
sudo apt install libgflags-doclibgflags2.2 2.2.2-2build1
commandline flags module for C++ (shared library)
https://gflags.github.io/gflags/
sudo apt install libgflags2.2gflags 2.3.0-r0
The gflags package contains a C++ library that implements commandline flags processing.
https://gflags.github.io/gflags/
sudo apk add gflagsgflags-dev 2.3.0-r0
The gflags package contains a C++ library that implements commandline flags processing. (development files)
https://gflags.github.io/gflags/
sudo apk add gflags-devgflags 2.2.2-21.fc45
Library for commandline flag processing
https://gflags.github.io/gflags/
sudo dnf install gflagsgflags-devel 2.2.2-21.fc45
Development files for gflags
https://gflags.github.io/gflags/
sudo dnf install gflags-develgflags 2.2.2-6
C++ Library for commandline flag processing
https://github.com/schuhschuh/gflags
sudo pacman -S gflagsgflags 2.2.2-4.7
Library for commandline flag processing
https://github.com/gflags/gflags
sudo zypper install gflagsgflags-devel 2.2.2-4.7
Development files for the dynamic gflags library
https://github.com/gflags/gflags
sudo zypper install gflags-devellibgflags2_2 2.2.2-4.7
Library for commandline flag processing
https://github.com/gflags/gflags
sudo zypper install libgflags2_2gflags
sudo port install gflagsソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.