# 使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt 安装 fltk

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

## 安装

```sh
sudo av install brew:fltk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fltk
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fltk
```

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

### Linux

- apk (92%):

```sh
sudo apk add fltk
```

  证据: Alpine Linux edge package indexes: fltk from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install fltk
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#fltk
```

  证据: nixpkgs package indexes: fltk from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S fltk
```

  证据: Arch Linux sync databases: fltk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install fltk-devel
```

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

- Debian apt (92%):

```sh
sudo apt install fltk-options
```

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

- Ubuntu apt (92%):

```sh
sudo apt install fluid
```

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

## 软件包事实

- **软件包键:** brew:fltk
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/fltk>
- **版本:** 1.4.5
- **来源摘要:** Cross-platform C++ GUI toolkit
- **主页:** <https://www.fltk.org/>
- **仓库:** <https://github.com/fltk/fltk>
- **上游文档:** <https://www.fltk.org/>
- **许可证:** LGPL-2.0-only WITH FLTK-exception
- **源码归档:** <https://github.com/fltk/fltk/releases/download/release-1.4.5/fltk-1.4.5-source.tar.bz2>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- fltk-config (cli)
- fltk-options (cli)
- fluid (cli)
- fltk-config (别名)
- fltk-options (别名)
- fluid (别名)

## 依赖

- jpeg-turbo
- libpng

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.4.5
- 本地数据: OK
- 上游仓库: https://github.com/fltk/fltk
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

FLTK, the Fast Light Tool Kit, is a lightweight cross-platform C++ GUI toolkit for Unix/Linux, Windows, and macOS, with OpenGL support and the FLUID interface designer.

### 项目历史

Official FLTK sources say the toolkit was originally developed by Bill Spitzak and is now maintained by a small worldwide group of developers. Its README describes it as a compact C++ GUI toolkit for Unix/Linux, Windows, and macOS that avoids bloat while supporting modern GUI functionality and OpenGL.

FLTK's public history reaches back to the late 1990s. The official README lists copyright from 1998 onward, and the 1.0 change log records the 1.0 series through 1.0.11 in May 2001. Later release branches continued through the long-lived 1.1, 1.3, and 1.4 series.

### 采用历史

FLTK has been adopted by developers who need a small native GUI toolkit with permissive LGPL-with-exception licensing and broad platform reach. The project does not provide binary distributions, instead pointing users to source releases and operating-system package managers.

The toolkit has stayed relevant in package collections because it builds small GUI utilities and ships useful developer commands such as fltk-config and FLUID, while avoiding heavier desktop-framework dependencies.

### 使用方式

Developers use FLTK as a C++ library for native GUI applications and use FLUID to design interfaces and generate code. The fltk-config tool reports compile and link flags for downstream builds.

Modern FLTK builds use CMake, with source releases and generated documentation published by the project. FLTK 1.5 development removes autotools support and requires a C++11-capable compiler.

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

FLTK is package-nerd significant because it is a tiny but long-lived GUI toolkit with stable command-line helpers, cross-platform backends, bundled image-library considerations, OpenGL integration, and many downstream packages that depend on its headers and config script.

It also illustrates a common packaging transition: older autotools workflows coexisting with, and later yielding to, CMake-only builds.

### 时间线

- 1998: Official README copyright range begins for FLTK.
- 2001: FLTK 1.0.11 closes the early 1.0 change-log range.
- 2024: FLTK 1.4.0 is released.
- 2025: FLTK 1.4.2 is released with bug fixes, platform fixes, Wayland improvements, FLUID improvements, and documentation updates.
- 2026: FLTK 1.4.5 is released; 1.5 development prepares a CMake-only, C++11-required branch.

### Related projects

- Official FLTK sources connect the package to FLUID, OpenGL and GLUT emulation, CMake, Doxygen-generated documentation, and platform backends for X11, Wayland, Windows, and macOS.

### 来源

- <https://github.com/fltk/fltk>
- <https://raw.githubusercontent.com/fltk/fltk/master/CHANGES.txt>
- <https://raw.githubusercontent.com/fltk/fltk/master/CHANGES_1.0.txt>
- <https://raw.githubusercontent.com/fltk/fltk/master/CHANGES_1.4.txt>
- <https://raw.githubusercontent.com/fltk/fltk/master/CREDITS.txt>
- <https://raw.githubusercontent.com/fltk/fltk/master/README.md>
- <https://www.fltk.org/>
- <https://www.fltk.org/articles.php?L825=>
- <https://www.fltk.org/documentation.php>


## 安全说明

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:** fltk
- **Aliases:** fltk@1.4
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Nix - fltk: normalized package name match | nixpkgs package indexes: fltk from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- apk - fltk - 1.3.11-r1: normalized package name match | Alpine Linux edge package indexes: fltk from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A cross-platform C++ GUI toolkit | https://www.fltk.org/
- apk - fltk-dev - 1.3.11-r1: normalized package name match | Alpine Linux edge package indexes: fltk-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A cross-platform C++ GUI toolkit (development files) | https://www.fltk.org/
- apk - fltk-doc - 1.3.11-r1: normalized package name match | Alpine Linux edge package indexes: fltk-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A cross-platform C++ GUI toolkit (documentation) | https://www.fltk.org/
- apk - fltk-fluid - 1.3.11-r1: normalized package name match | Alpine Linux edge package indexes: fltk-fluid from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fast Light User Interface Designer | https://www.fltk.org/
- apk - libfltk - 1.3.11-r1: normalized package name match | Alpine Linux edge package indexes: libfltk from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A cross-platform C++ GUI toolkit | https://www.fltk.org/
- apk - libfltk_cairo - 1.3.11-r1: normalized package name match | Alpine Linux edge package indexes: libfltk_cairo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A cross-platform C++ GUI toolkit | https://www.fltk.org/
- apk - libfltk_forms - 1.3.11-r1: normalized package name match | Alpine Linux edge package indexes: libfltk_forms from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A cross-platform C++ GUI toolkit | https://www.fltk.org/
- apk - libfltk_gl - 1.3.11-r1: normalized package name match | Alpine Linux edge package indexes: libfltk_gl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A cross-platform C++ GUI toolkit | https://www.fltk.org/
- apk - libfltk_images - 1.3.11-r1: normalized package name match | Alpine Linux edge package indexes: libfltk_images from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A cross-platform C++ GUI toolkit | https://www.fltk.org/
- dnf - fltk - 1.4.5-2.fc45: normalized package name match | Fedora Rawhide package metadata: fltk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | C++ user interface toolkit | http://www.fltk.org/
- dnf - fltk-devel - 1.4.5-2.fc45: normalized package name match | Fedora Rawhide package metadata: fltk-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development files for fltk | http://www.fltk.org/
- dnf - fltk-fluid - 1.4.5-2.fc45: normalized package name match | Fedora Rawhide package metadata: fltk-fluid from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Fast Light User Interface Designer | http://www.fltk.org/
- dnf - fltk-options - 1.4.5-2.fc45: normalized package name match | Fedora Rawhide package metadata: fltk-options from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Fast Light Tool Kit Options Editor | http://www.fltk.org/
- dnf - fltk-static - 1.4.5-2.fc45: normalized package name match | Fedora Rawhide package metadata: fltk-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Static libraries for fltk | http://www.fltk.org/
- dnf - mingw32-fltk - 1.4.5-2.fc45: normalized package name match | Fedora Rawhide package metadata: mingw32-fltk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | MinGW compiled fltk for the Win32 target | http://www.fltk.org/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [libpng](https://pkg.so/zh-hans/brew/libpng/) - Runtime dependency declared by Homebrew.
- [jpeg-turbo](https://pkg.so/zh-hans/brew/jpeg-turbo/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [octave](https://pkg.so/zh-hans/brew/octave/) - Popular package that depends on this formula.
- [gmsh](https://pkg.so/zh-hans/brew/gmsh/) - Popular package that depends on this formula.
- [csound](https://pkg.so/zh-hans/brew/csound/) - Popular package that depends on this formula.
- [limesuite](https://pkg.so/zh-hans/brew/limesuite/) - Popular package that depends on this formula.
- [nestopia-ue](https://pkg.so/zh-hans/brew/nestopia-ue/) - Popular package that depends on this formula.
- [fox](https://pkg.so/zh-hans/brew/fox/) - Shares pkgdb curated category or tags: c-plus-plus, cli, cross-platform, developer-tools, gui.
- [qtbase](https://pkg.so/zh-hans/brew/qtbase/) - Shares pkgdb curated category or tags: c-plus-plus, cli, cross-platform, developer-tools, gui.
- [qt](https://pkg.so/zh-hans/brew/qt/) - Shares pkgdb curated category or tags: c-plus-plus, cli, cross-platform, developer-tools, gui.
- [qt@5](https://pkg.so/zh-hans/brew/qt-5/) - Shares pkgdb curated category or tags: c-plus-plus, cli, cross-platform, developer-tools, gui.
- [gtk+3](https://pkg.so/zh-hans/brew/gtk-3/) - Shares pkgdb curated category or tags: cli, developer-tools, gui, toolkit.
- [wxwidgets@3.2](https://pkg.so/zh-hans/brew/wxwidgets-3-2/) - Shares pkgdb curated category or tags: c-plus-plus, cli, cross-platform, developer-tools.
- [wxwidgets](https://pkg.so/zh-hans/brew/wxwidgets/) - Shares pkgdb curated category or tags: c-plus-plus, cli, cross-platform, developer-tools.
- [gtk+](https://pkg.so/zh-hans/brew/gtk/) - Shares pkgdb curated category or tags: cli, developer-tools, gui, toolkit.

## Combined YAML source

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


## 来源

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