macOS
brew install unixodbclocal Homebrew formula metadata
sudo port install unixODBCMacPorts ports tree · databases/unixODBC/Portfile · 来源: api.github.com
安装
brew install unixodbclocal Homebrew formula metadata
sudo port install unixODBCMacPorts ports tree · databases/unixODBC/Portfile · 来源: api.github.com
sudo apk add unixodbcAlpine Linux edge package indexes · unixodbc · 来源: dl-cdn.alpinelinux.org
sudo apt install unixodbcDebian stable package indexes · unixodbc · 来源: deb.debian.org
nix profile install nixpkgs#unixodbcnixpkgs package indexes · pkgs/by-name/un/unixodbc/package.nix · 来源: api.github.com
sudo pacman -S unixodbcArch Linux sync databases · unixodbc · 来源: geo.mirror.pkgbuild.com
sudo dnf install unixODBCFedora Rawhide package metadata · unixODBC · 来源: dl.fedoraproject.org
sudo zypper install libodbc2openSUSE Tumbleweed package metadata · libodbc2 · 来源: download.opensuse.org
概览
ODBC 3 connectivity for UNIX
历史
unixODBC is a free ODBC subsystem and SDK for Linux, macOS, and Unix. Its central role is the driver manager: the layer that lets applications use ODBC APIs while loading and configuring database-specific drivers on non-Windows systems.
The upstream README describes unixODBC as an open source ODBC subsystem and SDK for Linux, Mac OSX, and UNIX, including a driver manager, installer library and command-line tool, plus command-line tools for driver installation and SQL work. Its web documentation describes it as a complete, free/open ODBC solution for UNIX/Linux.
unixODBC grew around the need to reproduce the Windows ODBC environment on non-Windows platforms. The official odbcinst guide explains that Windows ODBC used .ini-style configuration historically, and unixODBC implements the same configuration model and APIs through ini files and libodbcinst.
unixODBC became infrastructure rather than an end-user application: databases, language bindings, BI tools, office suites, and proprietary drivers could target a common ODBC manager on Unix-like systems. The official documentation includes guides for DB2, FreeTDS, Informix, Perl DBD::ODBC, PHP, OpenOffice/StarOffice, connection pooling, and other integration scenarios.
Its package-manager footprint reflects that infrastructure role. The input shows it packaged across Homebrew, Alpine, Debian and Ubuntu libraries, Fedora, MacPorts, Nix, Arch, and openSUSE, often as the dependency that makes higher-level database connectors work.
Package users encounter unixODBC through tools such as isql, iusql, odbcinst, odbc_config, dltest, and slencheck. isql tests DSNs and runs SQL from a shell; odbcinst registers drivers and data sources; odbc_config exposes build/link flags for software compiling against the installed driver manager.
The practical admin workflow is ini-file driven. System configuration typically lives in odbcinst.ini and odbc.ini under an etc directory, while user DSNs can live in ~/.odbc.ini. The README notes that ODBCSYSINI can override where unixODBC looks for system configuration.
unixODBC is package-nerd significant because it is the quiet shared ABI beneath many database packages. A broken driver-manager path, SQLLEN size mismatch, missing ini file, or loader issue can make unrelated database clients fail.
It is also a classic Unix packaging problem: libraries, headers, CLI diagnostics, driver registration, dynamic loading, and vendor drivers all have to agree. That is why tools such as odbc_config, odbcinst, dltest, and slencheck matter even though most users only wanted an application to connect to a database.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
/usr/local/etc/odbcinst.ini/usr/local/etc/odbc.ini/etc/odbcinst.ini/etc/odbc.ini~/.odbc.ini可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dltest | cli | 全局可执行文件 | |
isql | cli | 全局可执行文件 | |
iusql | cli | 全局可执行文件 | |
odbc_config | cli | 全局可执行文件 | |
odbcinst | cli | 全局可执行文件 | |
slencheck | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:unixodbc |
|---|---|
| 版本 | 2.3.14 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/unixodbc |
| 主页 | https://www.unixodbc.org/ |
| 仓库 | https://github.com/lurcher/unixODBC |
| 上游文档 | https://www.unixodbc.org/doc |
| 许可证 | LGPL-2.1-or-later AND GPL-2.0-or-later |
| 源码归档 | https://www.unixodbc.org/unixODBC-2.3.14.tar.gz |
| 最后更新 | 2026-06-27T17:28:37-04:00 |
| Pulse | updated |
| 依赖 | libtool |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | unixodbc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libodbc2 2.3.12-2
ODBC Driver Manager library for Unix
sudo apt install libodbc2libodbccr2 2.3.12-2
ODBC Cursor library for Unix
sudo apt install libodbccr2libodbcinst2 2.3.12-2
Support library for accessing ODBC configuration files
sudo apt install libodbcinst2odbcinst 2.3.12-2
Helper program for accessing ODBC configuration files
sudo apt install odbcinstunixodbc 2.3.12-2
Basic ODBC tools
sudo apt install unixodbcunixodbc-common 2.3.12-2
Common ODBC configuration files
sudo apt install unixodbc-commonunixodbc-dev 2.3.12-2
ODBC libraries for Unix (development files)
sudo apt install unixodbc-devunixodbc
nix profile install nixpkgs#unixodbclibodbc2 2.3.12-1build2
ODBC Driver Manager library for Unix
sudo apt install libodbc2libodbccr2 2.3.12-1build2
ODBC Cursor library for Unix
sudo apt install libodbccr2libodbcinst2 2.3.12-1build2
Support library for accessing ODBC configuration files
sudo apt install libodbcinst2odbcinst 2.3.12-1build2
Helper program for accessing ODBC configuration files
sudo apt install odbcinstunixodbc 2.3.12-1build2
Basic ODBC tools
sudo apt install unixodbcunixodbc-common 2.3.12-1build2
Common ODBC configuration files
sudo apt install unixodbc-commonunixodbc-dev 2.3.12-1build2
ODBC libraries for Unix (development files)
sudo apt install unixodbc-devunixodbc 2.3.14-r1
Unix Open DataBase Connectivity sub-system and SDK
sudo apk add unixodbc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.