# 使用 Homebrew, apt, dnf, MacPorts, Nix, zypper 安装 hello

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

## 安装

```sh
sudo av install brew:hello
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hello
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install hello
```

  证据: MacPorts ports tree: mail/hello/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install hello
```

  证据: Debian stable package indexes: hello from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install hello
```

  证据: Fedora Rawhide package metadata: hello from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#hello
```

  证据: nixpkgs package indexes: pkgs/by-name/he/hello/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install hello
```

  证据: openSUSE Tumbleweed package metadata: hello from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:hello
- **软件包管理器:** Homebrew
- **版本:** 2.12.3
- **来源摘要:** Program providing model for GNU coding standards and practices
- **主页:** <https://www.gnu.org/software/hello/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- hello (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.12.3
## 项目历史与用法

GNU Hello is the GNU Project's intentionally small greeting program and sample package. Its job is not only to print a friendly greeting, but to demonstrate GNU package structure, coding conventions, localization, documentation, and release practice around a tiny program.

That makes it a classic package-manager specimen: the runtime behavior is trivial, while the source distribution exercises the machinery expected of a serious GNU package.

### 项目历史

GNU Hello dates back to the early 1990s. The GNU FTP archive lists early 1.x patch files and a 1.3 tarball in 1992 and 1993, then later 2.x releases across the 2000s, 2010s, 2020s, and 2026.

The project has served as a stable reference point for GNU maintainership. Because the core program is deliberately simple, changes in the package often illustrate build-system, translation, portability, and distribution practice rather than application complexity.

### 采用历史

GNU Hello appears in traditional Unix-like packaging systems because it is small, portable, and useful as a smoke test for source-based and binary package workflows. The supplied package metadata lists Homebrew, Debian, Fedora, MacPorts, Nix, Ubuntu, and openSUSE packaging.

GNU Guix documentation uses GNU Hello as an example package, which reinforces its role as teaching material for package definitions, source fetching, checksums, build systems, and dependency declaration.

### 使用方式

End users run `hello` to print a greeting. The program is often more important to developers and packagers than to interactive users, because it provides a minimal but complete GNU-style source distribution.

There is no normal per-user configuration file or credentials file: the package is a command-line demonstration program, not a stateful client.

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

GNU Hello is valuable precisely because it is over-equipped for its surface behavior. It lets maintainers test compiler invocation, gettext catalogs, Texinfo documentation, Autotools-style release layout, checks, install targets, and package metadata without the noise of a large application.

It is the package equivalent of a tuning fork: small enough to understand at a glance, but formal enough to reveal whether a packaging system handles conventional GNU software correctly.

### 时间线

- 1992: GNU FTP archive lists early Hello 1.0 to 1.1 patch material.
- 1993: GNU FTP archive lists the Hello 1.3 source tarball.
- 2002: GNU FTP archive lists the 2.1.x release line.
- 2014: GNU FTP archive lists Hello 2.10.
- 2022: GNU FTP archive lists Hello 2.11 and 2.12.x releases.
- 2026: GNU FTP archive lists Hello 2.12.3.

### Related projects

- GNU Coding Standards explain the conventions Hello is commonly used to demonstrate.
- GNU Guix uses Hello in package-definition examples.
- Autoconf, Automake, gettext, and Texinfo are closely related to the style of GNU source distribution that Hello exemplifies.

### 来源

- <https://ftp.gnu.org/gnu/hello/>
- <https://git.savannah.gnu.org/git/hello.git>
- <https://guix.gnu.org/cookbook/en/html_node/A-_0060_0060Hello-World_0027_0027-package.html>
- <https://www.gnu.org/software/hello/>
- <https://www.gnu.org/software/hello/manual/hello.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Debian apt - hello - 2.10-5: normalized package name match | Debian stable package indexes: hello from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | example package based on GNU hello | https://www.gnu.org/software/hello/
- Nix - hello: normalized package name match | nixpkgs package indexes: pkgs/by-name/he/hello/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - hello - 2.10-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: hello from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | example package based on GNU hello | https://www.gnu.org/software/hello/
- dnf - hello - 2.12.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: hello from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Prints a familiar, friendly greeting | https://www.gnu.org/software/hello/
- zypper - hello - 2.12.3-1.4: normalized package name match | openSUSE Tumbleweed package metadata: hello from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A Friendly Greeting Program | https://www.gnu.org/software/hello
- zypper - hello-lang - 2.12.3-1.4: normalized package name match | openSUSE Tumbleweed package metadata: hello-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Translations for package hello | https://www.gnu.org/software/hello
- MacPorts - hello: normalized package name match | MacPorts ports tree: mail/hello/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/hello.yml](https://github.com/mxcl/pkgdb/blob/main/combined/hello.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
