Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper, scoop 安装 global

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install global

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install global

MacPorts ports tree · devel/global/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install global

Debian stable package indexes · global · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install global

Fedora Rawhide package metadata · global · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#global

nixpkgs package indexes · pkgs/by-name/gl/global/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S global

Arch Linux sync databases · global · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install global

openSUSE Tumbleweed package metadata · global · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/global

Scoop official bucket manifest trees · bucket/global.json · 来源: api.github.com

概览

软件包摘要

Source code tag system

命令和别名

  • global
  • globash
  • gozilla
  • gtags
  • gtags-cscope
  • htags
  • htags-server

历史

项目历史与用法

GNU GLOBAL is a source-code tagging and navigation system centered on `gtags` databases and the `global` query command. It indexes source trees so programmers and editor integrations can jump to definitions, references, files, and generated hypertext views.

项目历史

GNU GLOBAL's distributed README identifies it as a source code tagging system for diverse environments and carries Tama Communications Corporation copyright years beginning in 2000. The README describes support for GNU, BSD, macOS, and other POSIX-compatible systems, with language support originally focused on C, Yacc, Java, PHP4, and assembly.

GNU FTP release archives show the 6.x series beginning in 2011 and continuing with small compatibility, parser, security, and editor-integration releases. Later NEWS entries document Universal Ctags support, Pygments parser work, SQLite configuration choices, Emacs TRAMP support, and security fixes for generated HTML workflows.

采用历史

GLOBAL became part of the GNU developer-tool family for users who wanted a tags system broader than classic ctags. Its command set integrates with Emacs, Vim, cscope-style workflows, shell completion, and generated HTML browsing, which made it useful for large C and mixed-language source trees before language-server tooling became common.

Package-manager adoption across Unix-like systems reflects that niche: GLOBAL is not a compiler or build tool, but it is a durable code-navigation utility that developers install on workstations, build hosts, and source-analysis environments.

使用方式

Practitioners run `gtags` at a project root to create tag databases, then use `global` to query symbols, files, references, and completion data. Companion tools such as `gozilla`, `htags`, `gtags-cscope`, `globash`, and `htags-server` connect those databases to browsers, shells, editors, and cscope-like interfaces.

The package is useful when a source tree does not have a language server, when developers need fast offline symbol lookup, or when generated cross-reference HTML is more convenient than editor-only navigation.

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

GNU GLOBAL is package-nerd significant because it packages a whole source-navigation workflow as small POSIX command-line tools. It also illustrates a long-lived GNU pattern: simple generated databases, editor adapters, manpages, Texinfo docs, and optional parser plug-ins rather than a background service.

时间线

  • 2000: README copyright range begins, matching early public GNU GLOBAL development.
  • 2011: GNU FTP archive lists GLOBAL 6.0.
  • 2017: GLOBAL 6.6 release line began.
  • 2021: Emacs TRAMP support added to `gtags.el`.
  • 2024: NEWS documents a command-injection fix in `htags`.
  • 2026: GLOBAL 6.6.15 released.

Related projects

  • GNU GLOBAL is related to ctags, Universal Ctags, cscope, Emacs gtags modes, Vim integrations, Pygments parsers, and source cross-reference generators such as LXR-style HTML browsers.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:server

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 5 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
globalcli全局可执行文件
globashcli全局可执行文件
gozillacli全局可执行文件
gtagscli全局可执行文件
gtags-cscopecli全局可执行文件
htagscli全局可执行文件
htags-servercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本6.6.15
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

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

安装元数据

软件包元数据

软件包键brew:global
版本6.6.15
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/global
主页https://www.gnu.org/software/global/
仓库https://savannah.gnu.org/cvs?group=global
上游文档https://www.gnu.org/software/global/globaldoc_toc.html
许可证GPL-3.0-or-later
源码归档https://ftpmirror.gnu.org/gnu/global/global-6.6.15.tar.gz
最后更新2026-06-22T14:03:34-07:00
Pulseupdated
依赖libtool, ncurses, python@3.14, sqlite, universal-ctags
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

global 6.6.13-1

Source code search and browse tools

https://www.gnu.org/software/global/global.html

sudo apt install global
  • Section: devel
  • Architecture: amd64
  • 6 依赖
  • 7 可选依赖
  • normalized package name match
  • 匹配方式:Global
Debian stable package indexes · deb.debian.org · Debian stable package indexes: global from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

global

nix profile install nixpkgs#global
  • normalized package name match
  • 匹配方式:Global
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gl/global/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

global 6.6.11-1

Source code search and browse tools

https://www.gnu.org/software/global/global.html

sudo apt install global
  • Section: universe/devel
  • Architecture: amd64
  • 6 依赖
  • 7 可选依赖
  • normalized package name match
  • 匹配方式:Global
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: global from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

global 6.6.14-1.fc45

Source code tag system

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

sudo dnf install global
  • License: GPL-3.0-or-later and LGPL-2.0-or-later and LGPL-2.1-or-later and BSD-3-Clause and MIT and LicenseRef-Fedora-Public-Domain and blessing and GFDL-1.2-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: global
  • 9 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Global
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: global from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

global-ctags 6.6.14-1.fc45

Integration of Universal Ctags and Pygments with GLOBAL

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

sudo dnf install global-ctags
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: global
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Global
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: global-ctags from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

global 6.6.14-1

Source code tagging system

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

sudo pacman -S global
  • License: BSD-3-Clause AND GPL-2.0-only AND GPL-3.0-or-later AND LGPL-2.0-or-later AND LicenseRef-CALDERA AND LicenseRef-PD AND MIT
  • Architecture: x86_64
  • 4 依赖
  • 5 可选依赖
  • normalized package name match
  • 匹配方式:Global
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: global from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

global 6.6.14-1.2

Common source code tag system

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

sudo zypper install global
  • License: GPL-3.0-only
  • Category: Development/Tools/Navigators
  • Architecture: x86_64
  • Source Package: global
  • 8 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Global
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: global from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

global

sudo port install global
  • normalized package name match
  • 匹配方式:Global
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/global/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/global

scoop install main/global
  • normalized package name match
  • 匹配方式:Global
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/global.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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