# 使用 Homebrew, apk, apt, dnf, Nix 安装 objfw

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

## 安装

```sh
sudo av install brew:objfw
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install objfw
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libobjfw1
```

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

- Debian apt (92%):

```sh
sudo apt install libobjfw1
```

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

- dnf (92%):

```sh
sudo dnf install libobjfw
```

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

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

## 软件包事实

- **软件包键:** brew:objfw
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/objfw>
- **版本:** 1.5.7
- **来源摘要:** Portable, lightweight framework for the Objective-C language
- **主页:** <https://objfw.nil.im/>
- **仓库:** <https://git.nil.im/ObjFW/ObjFW>
- **上游文档:** <https://objfw.nil.im/docs>
- **许可证:** LGPL-3.0-only
- **源码归档:** <https://objfw.nil.im/downloads/objfw-1.5.7.tar.gz>
- **最后更新:** 2026-07-04T02:31:18Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- objfw-compile (cli)
- objfw-config (cli)
- objfw-embed (cli)
- objfw-new (cli)
- ofarc (cli)
- ofdns (cli)
- ofgctester (cli)
- ofhash (cli)
- ofhttp (cli)
- objfw-compile (别名)
- objfw-config (别名)
- objfw-embed (别名)
- objfw-new (别名)
- ofarc (别名)
- ofdns (别名)
- ofgctester (别名)
- ofhash (别名)
- ofhttp (别名)

## 依赖

- openssl@3

## 构建依赖

- autoconf
- automake

## 安装行为

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

## 版本和新鲜度

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

ObjFW is a portable Objective-C framework and runtime aimed at developers who want Objective-C without binding their application to Apple Foundation or GNUstep. Its own README describes the project as intentionally incompatible with Foundation so that ObjFW can provide consistent behavior across supported platforms rather than preserve Foundation quirks.

### 项目历史

The project reached its first stable API and ABI in ObjFW 1.0 on 2023-08-29 after a long pre-1.0 period; the ChangeLog notes that 1.0 followed nearly six years after the previous 0.90.2 release. Later 1.x releases continued to expand the runtime, TLS, archive, DNS, filesystem, terminal, Unicode, and platform-support surface.

### 采用历史

ObjFW is packaged in Homebrew and in several Unix-style distribution ecosystems under names such as objfw, libobjfw1, and libobjfw. Its package split in some distributions reflects the project structure: core framework, Objective-C runtime, TLS support, HID support, documentation, and small utilities built on top of the framework.

### 使用方式

Developers use ObjFW either as a library framework or through its helper tools. The README documents objfw-new for creating an application skeleton, objfw-compile for compiling ObjFW applications without a larger build system, and objfw-config for obtaining compiler and linker flags for custom builds.

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

ObjFW is interesting because it packages a non-Foundation Objective-C world: a framework, runtime, build helpers, and command-line utilities. For package indexers it is a reminder that Objective-C runtime support is not only an Apple-platform concern, and that one source project can publish both libraries and user-facing executables.

### 时间线

- 2017-08-01: ObjFW 0.90 added new classes and support for Nintendo 3DS and MorphOS.
- 2023-08-29: ObjFW 1.0 delivered the first stable API and ABI.
- 2024-04-14: ObjFW 1.1 changed the license to LGPL-3.0-only and added ObjFWTest, associated objects, DNS caching, Mbed TLS support, and more archive functionality.
- 2025-08-03: ObjFW 1.4 moved object memory management into the runtime and added runtime optimizations.
- 2026-02-22: ObjFW 1.5 added color-space and image support.

### Related projects

- ObjFW sits beside Foundation-compatible projects such as GNUstep rather than replacing them directly. The project explicitly chooses portability-through-ObjFW over Foundation compatibility, which makes it a distinct packaging target for Objective-C applications.

### 来源

- <https://formulae.brew.sh/formula/objfw>
- <https://github.com/ObjFW/ObjFW/>
- <https://github.com/ObjFW/ObjFW/blob/main/ChangeLog>
- <https://www.freshports.org/devel/objfw/>


## 安全说明

没有找到 objfw 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** objfw
- **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

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

- Debian apt - libobjfw1 - 1.3-1: normalized package name match | Debian stable package indexes: libobjfw1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ObjFW library | https://objfw.nil.im/
- Debian apt - libobjfw1-dev - 1.3-1: normalized package name match | Debian stable package indexes: libobjfw1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Header files, libraries and tools for libobjfw1 | https://objfw.nil.im/
- Debian apt - libobjfwhid1 - 1.3-1: normalized package name match | Debian stable package indexes: libobjfwhid1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | HID support for ObjFW | https://objfw.nil.im/
- Debian apt - libobjfwhid1-dev - 1.3-1: normalized package name match | Debian stable package indexes: libobjfwhid1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Header files and libraries for libobjfwhid | https://objfw.nil.im/
- Debian apt - libobjfwrt1 - 1.3-1: normalized package name match | Debian stable package indexes: libobjfwrt1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ObjFW Objective-C runtime library | https://objfw.nil.im/
- Debian apt - libobjfwrt1-dev - 1.3-1: normalized package name match | Debian stable package indexes: libobjfwrt1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Header files and libraries for libobjfwrt | https://objfw.nil.im/
- Debian apt - libobjfwtls1 - 1.3-1: normalized package name match | Debian stable package indexes: libobjfwtls1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | TLS support for ObjFW | https://objfw.nil.im/
- Debian apt - libobjfwtls1-dev - 1.3-1: normalized package name match | Debian stable package indexes: libobjfwtls1-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Header files and libraries for libobjfwtls | https://objfw.nil.im/
- Debian apt - objfw - 1.3-1: normalized package name match | Debian stable package indexes: objfw from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Portable, lightweight framework for the Objective-C language | https://objfw.nil.im/
- Debian apt - ofarc - 1.3-1: normalized package name match | Debian stable package indexes: ofarc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Utility for handling ZIP, Tar and LHA archives | https://objfw.nil.im/
- Debian apt - ofdns - 1.3-1: normalized package name match | Debian stable package indexes: ofdns from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Utility for performing DNS requests on the command line | https://objfw.nil.im/
- Debian apt - ofhash - 1.3-1: normalized package name match | Debian stable package indexes: ofhash from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Utility to hash files with various cryptographic hash functions | https://objfw.nil.im/
- Debian apt - ofhttp - 1.3-1: normalized package name match | Debian stable package indexes: ofhttp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command line downloader for HTTP(S) | https://objfw.nil.im/
- Nix - objfw: normalized package name match | nixpkgs package indexes: pkgs/by-name/ob/objfw/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - libobjfw1 - 1.5.4-r0: normalized package name match | Alpine Linux edge package indexes: libobjfw1 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library needed by programs using ObjFW | https://objfw.nil.im/
- apk - libobjfwhid1 - 1.5.4-r0: normalized package name match | Alpine Linux edge package indexes: libobjfwhid1 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library for HID support for ObjFW | https://objfw.nil.im/


## 相关链接

- [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.
- [openssl@3](https://www.automicvault.com/zh-hans/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/zh-hans/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/zh-hans/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [fantom](https://www.automicvault.com/zh-hans/pkg/brew/fantom/) - Shares av.db curated category or tags: cli, language-runtime, portable, runtime.
- [mono](https://www.automicvault.com/zh-hans/pkg/brew/mono/) - Shares av.db curated category or tags: cli, cross-platform, language-runtime, runtime.
- [bigloo](https://www.automicvault.com/zh-hans/pkg/brew/bigloo/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [chezscheme](https://www.automicvault.com/zh-hans/pkg/brew/chezscheme/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [chicken](https://www.automicvault.com/zh-hans/pkg/brew/chicken/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [clozure-cl](https://www.automicvault.com/zh-hans/pkg/brew/clozure-cl/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [dartaotruntime](https://www.automicvault.com/zh-hans/pkg/brew/dartaotruntime/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [deno](https://www.automicvault.com/zh-hans/pkg/brew/deno/) - Shares av.db curated category or tags: cli, language-runtime, runtime.
- [node](https://www.automicvault.com/zh-hans/pkg/brew/node/) - Local package facts share a topical domain. Shared terms: cli, cross, cross-platform, language, language-runtime.
- [sagittarius-scheme](https://www.automicvault.com/zh-hans/pkg/brew/sagittarius-scheme/) - Local package facts share a topical domain. Shared terms: cli, compile, config, language, language-runtime.

## Combined YAML source

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