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

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

## 安装

```sh
sudo av install brew:imake
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install imake
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install imake
```

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

### Linux

- apk (92%):

```sh
sudo apk add imake
```

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

- dnf (92%):

```sh
sudo dnf install imake
```

  证据: Fedora Rawhide package metadata: imake 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#imake
```

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

- pacman (92%):

```sh
sudo pacman -S imake
```

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

- zypper (92%):

```sh
sudo zypper install imake
```

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

## 软件包事实

- **软件包键:** brew:imake
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/imake>
- **版本:** 1.0.11
- **来源摘要:** Build automation system written for X11
- **主页:** <https://xorg.freedesktop.org>
- **仓库:** <https://gitlab.freedesktop.org/xorg/util/imake>
- **上游文档:** <https://cgit.freedesktop.org/xorg/util/imake>
- **许可证:** MIT
- **源码归档:** <https://xorg.freedesktop.org/releases/individual/util/imake-1.0.11.tar.xz>
- **最后更新:** 2026-06-22T14:03:46-07:00
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- ccmakedep (cli)
- cleanlinks (cli)
- imake (cli)
- makeg (cli)
- mergelib (cli)
- mkdirhier (cli)
- mkhtmlindex (cli)
- revpath (cli)
- xmkmf (cli)
- ccmakedep (别名)
- cleanlinks (别名)
- imake (别名)
- makeg (别名)
- mergelib (别名)
- mkdirhier (别名)
- mkhtmlindex (别名)
- revpath (别名)
- xmkmf (别名)

## 依赖

- tradcpp

## 构建依赖

- meson
- ninja
- pkgconf
- xorgproto

## 安装行为

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

## 版本和新鲜度

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

imake is the historic X Window System makefile-generation tool built around C preprocessor templates. It is no longer the preferred X.Org build system, but it remains packaged so older X11-era software can still be built.

### 项目历史

The X Window System used imake extensively through X11R6.9 for both builds inside the X source tree and external software. X.Org's release notes describe the X11R7.x shift to modular source releases, and the imake README states that X moved to GNU autoconf and automake for X11R7.0 and later releases in 2005.

As a standalone X.Org utility package, imake includes helper programs such as `ccmakedep`, `mergelib`, `revpath`, `mkdirhier`, `makeg`, `cleanlinks`, `mkhtmlindex`, and `xmkmf`. Its README also notes that most real usage needs the X.Org `util/cf` files, which provide platform-specific configuration data.

### 采用历史

imake's adoption story is almost inverted: it was once central to building X and X applications, then became legacy infrastructure after X.Org modularization and the move to Autotools. Package managers continue to carry it because old external X11 software and vendor source packages can still depend on Imakefiles and `xmkmf`.

X.Org maintainers explicitly advise projects still using imake to migrate to build systems that add support for new platforms and runtimes. The 2025 imake 1.0.11 announcement still added RISC-V and LoongArch Linux support, illustrating the maintenance pressure created by old build recipes on newer architectures.

### 使用方式

imake preprocesses Imakefiles into makefiles using X.Org configuration templates, with `xmkmf` commonly used by external packages to generate build files. The support tools cover dependency generation, directory creation, library merging, path calculation, and HTML index generation.

The practical package-manager use is compatibility: install imake and the X.Org configuration files when a legacy X11 source package asks for Imakefile processing rather than `configure`, Meson, or CMake.

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

imake is package-nerd archaeology with real build consequences. It explains why some ports collections and formulas still preserve X11 support utilities long after the main upstream ecosystem moved through Autotools and toward Meson.

### 时间线

- 1988: X11 version 11 was first released, forming the protocol era in which imake became important.
- 2005: X11R7.0 moved X.Org builds to GNU autoconf and automake.
- 2012: X11R7.7 was described as the eighth modular X Window System release.
- 2025: imake 1.0.11 added Linux RISC-V and LoongArch support plus Meson build support.
- 2026: Homebrew packages imake 1.0.11 for legacy X11 build compatibility.

### Related projects

- imake is closely tied to X.Org `util/cf`, `xmkmf`, Autotools-era X.Org modular builds, and newer Meson migration work. Its historical peers are the broader X11 utility and build-support packages distributed from X.Org's individual module archives.

### 来源

- <https://formulae.brew.sh/api/formula/imake.json>
- <https://gitlab.freedesktop.org/xorg/util/imake>
- <https://gitlab.freedesktop.org/xorg/util/imake/-/raw/master/README.md>
- <https://lists.x.org/archives/xorg-announce/2025-December/003650.html>
- <https://www.x.org/archive/X11R7.7/doc/xorg-docs/ReleaseNotes.txt>


## 安全说明

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

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

- Nix - imake: normalized package name match | nixpkgs package indexes: pkgs/by-name/im/imake/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - imake - 1.0.11-r0: normalized package name match | Alpine Linux edge package indexes: imake from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | X Windows make utility | https://www.x.org
- apk - imake-doc - 1.0.11-r0: normalized package name match | Alpine Linux edge package indexes: imake-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | X Windows make utility (documentation) | https://www.x.org
- dnf - imake - 1.0.10-6.fc44: normalized package name match | Fedora Rawhide package metadata: imake from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | imake source code configuration and build system | http://www.x.org
- pacman - imake - 1.0.11-1: normalized package name match | Arch Linux sync databases: imake from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | X.Org imake program and related utilities | https://xorg.freedesktop.org/
- zypper - imake - 1.0.11-1.3: normalized package name match | openSUSE Tumbleweed package metadata: imake from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | C preprocessor interface to the make utility | https://xorg.freedesktop.org/
- MacPorts - imake: normalized package name match | MacPorts ports tree: x11/imake/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [tradcpp](https://www.automicvault.com/zh-hans/pkg/brew/tradcpp/) - Runtime dependency declared by Homebrew.
- [meson](https://www.automicvault.com/zh-hans/pkg/brew/meson/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/zh-hans/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [bmake](https://www.automicvault.com/zh-hans/pkg/brew/bmake/) - Shares av.db curated category or tags: build-system, build-tools, cli, developer-tools, make.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Shares av.db curated category or tags: build-system, build-tools, cli, developer-tools, make.
- [colormake](https://www.automicvault.com/zh-hans/pkg/brew/colormake/) - Shares av.db curated category or tags: build-tools, cli, developer-tools, make.
- [compiledb](https://www.automicvault.com/zh-hans/pkg/brew/compiledb/) - Shares av.db curated category or tags: build-tools, cli, developer-tools, make.
- [fpm](https://www.automicvault.com/zh-hans/pkg/brew/fpm/) - Shares av.db curated category or tags: build-system, build-tools, cli, developer-tools.
- [melange](https://www.automicvault.com/zh-hans/pkg/brew/melange/) - Shares av.db curated category or tags: build-system, build-tools, cli, developer-tools.
- [nx](https://www.automicvault.com/zh-hans/pkg/brew/nx/) - Shares av.db curated category or tags: build-system, build-tools, cli, developer-tools.
- [ocamlbuild](https://www.automicvault.com/zh-hans/pkg/brew/ocamlbuild/) - Shares av.db curated category or tags: build-system, build-tools, cli, developer-tools.
- [lndir](https://www.automicvault.com/zh-hans/pkg/brew/lndir/) - Local metadata places this package in an adjacent workflow. Shared terms: build, build-tools, cli, developer, developer-tools.

## Combined YAML source

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