# 使用 Homebrew, dnf, MacPorts, Nix, pacman 安装 libiodbc

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

## 安装

```sh
sudo av install brew:libiodbc
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libiodbc
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libiodbc
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install libiodbc
```

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

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

- pacman (92%):

```sh
sudo pacman -S libiodbc
```

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

## 软件包事实

- **软件包键:** brew:libiodbc
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libiodbc>
- **版本:** 3.52.16
- **来源摘要:** Database connectivity layer based on ODBC. (alternative to unixodbc)
- **主页:** <https://www.iodbc.org/>
- **仓库:** <https://github.com/openlink/iODBC>
- **上游文档:** <https://www.iodbc.org/dataspace/doc/iodbc/wiki/iodbcWiki/FAQ>
- **许可证:** BSD-3-Clause OR LGPL-2.0-only
- **源码归档:** <https://github.com/openlink/iODBC/archive/refs/tags/v3.52.16.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- iodbc-config (cli)
- iodbctest (cli)
- iodbctestw (cli)
- iodbc-config (别名)
- iodbctest (别名)
- iodbctestw (别名)

## 构建依赖

- autoconf
- automake
- libtool

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 3.52.16
- 本地数据: OK
- 上游仓库: https://github.com/openlink/iODBC
- 检测到的最新版本: v3.52.16 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

iODBC is an open source ODBC driver manager for Unix-like systems and other platforms. In package-manager terms, libiodbc is the alternative ODBC driver-manager stack most often compared with unixODBC.

### 项目历史

The iODBC source tree carries copyright attribution to Ke Jin in 1995 and OpenLink Software from 1996 onward. The official FAQ says iODBC stands for Independent Open Database Connectivity, is dual-licensed under BSD and LGPL terms, and is hosted by OpenLink for the wider community as a free ODBC driver-manager component for Linux, macOS, Unix-like systems, VMS, and other platforms.

The README frames iODBC as a complete implementation of an ODBC driver manager plus the iodbctest command-line SQL interface. It also documents the Unix configuration model around ODBCINI, ~/.odbc.ini, system odbc.ini, and odbcinst.ini, which became the practical shape that packagers and administrators deal with.

### 采用历史

iODBC appears in long-running Unix and macOS packaging because many database clients and language bindings need a driver manager that can load vendor ODBC drivers. The official downloads page lists source builds, macOS SDK installers, and distro package names for Debian-family, Fedora, Gentoo, and FreeBSD systems.

### 使用方式

Users install libiodbc to provide libiodbc, iodbc-config, iodbctest, and related driver-manager pieces. It is used to define DSNs, load ODBC driver shared libraries, test database connectivity, and support applications that speak the ODBC API rather than a database-specific client API.

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

libiodbc matters because ODBC is a cross-language, cross-database compatibility layer, and driver managers sit at an awkward boundary between system configuration, dynamic linking, GUI setup tools, and per-driver credentials. The package is also historically interesting on macOS because Apple shipped iODBC components while package managers continued to carry OpenLink-maintained builds.

### 时间线

- 1995: The source tree records the original iODBC copyright attribution to Ke Jin.
- 1996: OpenLink Software began the copyright period recorded by the project and later became custodian and sponsor according to the official FAQ.
- 2009-09-11: iODBC 3.52.7 added the iODBC Graphical Administrator for Mac OS X and other driver-manager fixes.
- 2016-07-12: iODBC 3.52.12 added Cocoa dialogs and a 64-bit iODBC Administrator for Mac OS X workflows.
- 2023-05-02: OpenLink published the 3.52.16 release on GitHub.

### Related projects

- Related projects include unixODBC as the other common open source ODBC driver manager, OpenLink ODBC drivers, Virtuoso, language bindings such as DBD::ODBC and Ruby/ODBC, and database-specific ODBC drivers for PostgreSQL, MySQL, and commercial databases.

### 来源

- <https://github.com/openlink/iODBC/releases>
- <https://raw.githubusercontent.com/openlink/iODBC/develop/README.md>
- <https://www.iodbc.org/dataspace/iodbc/wiki/iodbcWiki/ChangeNotes>
- <https://www.iodbc.org/dataspace/iodbc/wiki/iodbcWiki/Downloads>
- <https://www.iodbc.org/dataspace/iodbc/wiki/iodbcWiki/FAQ>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $ODBCINI, ~/.odbc.ini, /etc/odbc.ini, /etc/odbcinst.ini

## Credential files

- Unix: $ODBCINI, ~/.odbc.ini, /etc/odbc.ini
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libiodbc
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

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

- Nix - libiodbc: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libiodbc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - libiodbc - 3.52.16-4.fc44: normalized package name match | Fedora Rawhide package metadata: libiodbc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | iODBC Driver Manager | http://www.iodbc.org/
- dnf - libiodbc-devel - 3.52.16-4.fc44: normalized package name match | Fedora Rawhide package metadata: libiodbc-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Header files and libraries for iODBC development | http://www.iodbc.org/
- pacman - libiodbc - 3.52.16-2: normalized package name match | Arch Linux sync databases: libiodbc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Independent Open DataBase Connectivity for Linux | http://www.iodbc.org/dataspace/doc/iodbc/wiki/iodbcWiki/
- MacPorts - libiodbc: normalized package name match | MacPorts ports tree: devel/libiodbc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [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.
- [libtool](https://www.automicvault.com/zh-hans/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [dolt](https://www.automicvault.com/zh-hans/pkg/brew/dolt/) - Shares av.db curated category or tags: cli, data, database, sql.
- [doltgres](https://www.automicvault.com/zh-hans/pkg/brew/doltgres/) - Shares av.db curated category or tags: cli, data, database, sql.
- [duckdb](https://www.automicvault.com/zh-hans/pkg/brew/duckdb/) - Shares av.db curated category or tags: cli, data, database, sql.
- [gdbm](https://www.automicvault.com/zh-hans/pkg/brew/gdbm/) - Shares av.db curated category or tags: cli, data, database, library.
- [gqlplus](https://www.automicvault.com/zh-hans/pkg/brew/gqlplus/) - Shares av.db curated category or tags: cli, data, database, sql.
- [immudb](https://www.automicvault.com/zh-hans/pkg/brew/immudb/) - Shares av.db curated category or tags: cli, data, database, sql.
- [kyoto-cabinet](https://www.automicvault.com/zh-hans/pkg/brew/kyoto-cabinet/) - Shares av.db curated category or tags: cli, data, database, library.
- [lazysql](https://www.automicvault.com/zh-hans/pkg/brew/lazysql/) - Shares av.db curated category or tags: cli, data, database, sql.
- [freetds](https://www.automicvault.com/zh-hans/pkg/brew/freetds/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, connectivity, data, database, database-connectivity.
- [mariadb](https://www.automicvault.com/zh-hans/pkg/brew/mariadb/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, config, data, database, sql.
- [mysql](https://www.automicvault.com/zh-hans/pkg/brew/mysql/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, config, data, database, sql.

## Combined YAML source

View the package source record on GitHub. [combined/libiodbc.yml](https://github.com/automic-vault/db/blob/main/combined/libiodbc.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
