# 使用 Homebrew, dnf, MacPorts, Nix, apt, winget 安装 gforth

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

## 安装

```sh
sudo av install brew:gforth
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gforth
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gforth
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install gforth
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#gforth
```

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

- Ubuntu apt (92%):

```sh
sudo apt install gforth
```

  证据: Ubuntu 24.04 LTS package indexes: gforth from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

### Windows

- winget (92%):

```sh
winget install --id GNU.Gforth -e
```

  证据: Windows Package Manager source index: GNU.Gforth from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:gforth
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gforth>
- **版本:** 0.7.3
- **来源摘要:** Implementation of the ANS Forth language
- **主页:** <https://www.gnu.org/software/gforth/>
- **仓库:** <https://git.savannah.gnu.org/git/gforth.git>
- **上游文档:** <https://www.complang.tuwien.ac.at/forth/gforth/Docs-html>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://ftpmirror.gnu.org/gnu/gforth/gforth-0.7.3.tar.gz>
- **最后更新:** 2026-06-22T14:03:28-07:00
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- gforth (cli)
- gforth-0.7.3 (cli)
- gforth-fast (cli)
- gforth-fast-0.7.3 (cli)
- gforth-itc (cli)
- gforth-itc-0.7.3 (cli)
- gforthmi (cli)
- gforthmi-0.7.3 (cli)
- vmgen (cli)
- vmgen-0.7.3 (cli)
- gforth (别名)
- gforth-0.7.3 (别名)
- gforth-fast (别名)
- gforth-fast-0.7.3 (别名)
- gforth-itc (别名)
- gforth-itc-0.7.3 (别名)
- gforthmi (别名)
- gforthmi-0.7.3 (别名)
- vmgen (别名)
- vmgen-0.7.3 (别名)

## 依赖

- libtool

## 构建依赖

- emacs

## macOS 提供的库

- libffi

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.7.3
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://www.gnu.org/software/gforth/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Gforth is the GNU project's Forth implementation, a portable system for ANS Forth and Forth 2012 programming. Its history sits at the intersection of language-standard reference work, interactive programming, GNU packaging, and virtual-machine generation.

### 项目历史

The Gforth manuals carry Free Software Foundation copyright years beginning in 1995, and the project page names Anton Ertl as project initiator and Bernd Paysan as project leader. The stated project goal was to develop a standard model for ANSI Forth: conforming to the standard, documenting implementation-dependent behavior, gaining broad acceptance, remaining efficient, remaining free, and being portable.

### 采用历史

Gforth became a GNU language runtime with broad platform reach across GNU, BSD-like systems, Windows, macOS, Android/Linux, and embedded-control targets. The project page connects it to the Forth standard, Forth community resources, the Gforth mailing list, and comp.lang.forth.

### 使用方式

Practitioners use Gforth as an interactive Forth environment, a compiler/runtime for Forth source, a learning system with a substantial manual and tutorial, and a platform for exploring threaded-code implementation techniques. Its tool set includes `gforth`, faster and indirect-threaded variants, image-building helpers, and `vmgen` for generating efficient interpreters.

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

Gforth matters to package maintainers because it is both a GNU language implementation and a self-hosting-style Forth environment with multiple installed executables. It brings a historically important niche language into the same package-manager workflows as more common compilers and interpreters.

### 时间线

- 1995: Gforth documentation copyright history begins in the FSF manuals.
- 2003: Gforth and Vmgen 0.6.2 were announced on GNU mailing lists.
- 2008: The 0.7.0 manual described Gforth as a fast, portable ANS Forth implementation.
- 2018: The online manual line described version 0.7.9 snapshots and Forth tutorial material.
- 2024: A Dagstuhl software artifact entry archived Gforth source from Savannah.

### Related projects

- Gforth is related to the Forth standard, GNU, Vmgen, Emacs integration, Forth community sites, and other Forth systems such as fig-Forth and F83 that informed its standard-model goals.

### 来源

- <https://bernd-paysan.de/gforth.html>
- <https://drops.dagstuhl.de/entities/artifact/10.4230/artifacts.22514>
- <https://gforth.org/>
- <https://gforth.org/manual/>
- <https://lists.gnu.org/archive/html/info-gnu/2003-11/msg00003.html>


## 安全说明

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

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

- Nix - gforth: normalized package name match | nixpkgs package indexes: pkgs/by-name/gf/gforth/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gforth - 0.7.3+dfsg-9build4.1: normalized package name match | Ubuntu 24.04 LTS package indexes: gforth from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU Forth Language Environment | https://www.complang.tuwien.ac.at/projects/forth.html
- Ubuntu apt - gforth-common - 0.7.3+dfsg-9build4.1: normalized package name match | Ubuntu 24.04 LTS package indexes: gforth-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU Forth architecture-independent dictionaries | https://www.complang.tuwien.ac.at/projects/forth.html
- Ubuntu apt - gforth-lib - 0.7.3+dfsg-9build4.1: normalized package name match | Ubuntu 24.04 LTS package indexes: gforth-lib from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNU Forth Language Environment architecture-dependent files | https://www.complang.tuwien.ac.at/projects/forth.html
- dnf - gforth - 0.7.3-36.fc44: normalized package name match | Fedora Rawhide package metadata: gforth from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Fast and portable implementation of the ANS Forth language | http://www.gnu.org/software/gforth/
- MacPorts - gforth: normalized package name match | MacPorts ports tree: lang/gforth/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - GNU.Gforth: normalized package name match | Windows Package Manager source index: GNU.Gforth from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [libtool](https://www.automicvault.com/zh-hans/pkg/brew/libtool/) - Runtime dependency declared by Homebrew.
- [emacs](https://www.automicvault.com/zh-hans/pkg/brew/emacs/) - Build dependency declared by Homebrew.
- [clisp](https://www.automicvault.com/zh-hans/pkg/brew/clisp/) - Shares av.db curated category or tags: cli, compiler, gnu, implementation, interpreter.
- [ecl](https://www.automicvault.com/zh-hans/pkg/brew/ecl/) - Shares av.db curated category or tags: cli, compiler, implementation, interpreter, language-runtime.
- [sbcl](https://www.automicvault.com/zh-hans/pkg/brew/sbcl/) - Shares av.db curated category or tags: cli, compiler, implementation, language-runtime.
- [abcl](https://www.automicvault.com/zh-hans/pkg/brew/abcl/) - Shares av.db curated category or tags: cli, compiler, interpreter, language-runtime.
- [algol68g](https://www.automicvault.com/zh-hans/pkg/brew/algol68g/) - Shares av.db curated category or tags: cli, compiler, interpreter, language-runtime.
- [chicken](https://www.automicvault.com/zh-hans/pkg/brew/chicken/) - Shares av.db curated category or tags: cli, compiler, interpreter, language-runtime.
- [gambit-scheme](https://www.automicvault.com/zh-hans/pkg/brew/gambit-scheme/) - Shares av.db curated category or tags: cli, compiler, interpreter, language-runtime.
- [gcc](https://www.automicvault.com/zh-hans/pkg/brew/gcc/) - Shares av.db curated category or tags: cli, compiler, gnu, language-runtime.
- [gnu-smalltalk](https://www.automicvault.com/zh-hans/pkg/brew/gnu-smalltalk/) - Local package facts share a topical domain. Shared terms: cli, gnu, implementation, interpreter, language.
- [gnu-apl](https://www.automicvault.com/zh-hans/pkg/brew/gnu-apl/) - Local package facts share a topical domain. Shared terms: cli, gnu, implementation, interpreter, language.
- [mit-scheme](https://www.automicvault.com/zh-hans/pkg/brew/mit-scheme/) - Local package facts share a topical domain. Shared terms: cli, compiler, gnu, interpreter, language.

## Combined YAML source

View the package source record on GitHub. [combined/gforth.yml](https://github.com/automic-vault/db/blob/main/combined/gforth.yml)


## 来源

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