# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 1.4.5
- **来源摘要:** Cross-platform C++ GUI toolkit
- **主页:** <https://www.fltk.org/>
- **仓库:** <https://github.com/fltk/fltk>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MinGW compiled fltk for the Win32 target | http://www.fltk.org/


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
