# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 0.7.3
- **来源摘要:** Implementation of the ANS Forth language
- **主页:** <https://www.gnu.org/software/gforth/>
- **最后更新:** 2026-06-22T14:03:28-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- 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 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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-37.fc45: normalized package name match | Fedora Rawhide package metadata: gforth from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## Combined YAML source

View the package source record on GitHub. [combined/gforth.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gforth.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
