macOS
brew install freetdslocal Homebrew formula metadata
sudo port install freetdsMacPorts ports tree · databases/freetds/Portfile · 来源: api.github.com
安装
brew install freetdslocal Homebrew formula metadata
sudo port install freetdsMacPorts ports tree · databases/freetds/Portfile · 来源: api.github.com
sudo apk add freetdsAlpine Linux edge package indexes · freetds · 来源: dl-cdn.alpinelinux.org
sudo dnf install freetdsFedora Rawhide package metadata · freetds · 来源: dl.fedoraproject.org
nix profile install nixpkgs#freetdsnixpkgs package indexes · pkgs/by-name/fr/freetds/package.nix · 来源: api.github.com
sudo pacman -S freetdsArch Linux sync databases · freetds · 来源: geo.mirror.pkgbuild.com
sudo apt install freetds-binDebian stable package indexes · freetds-bin · 来源: deb.debian.org
sudo zypper install freetds-configopenSUSE Tumbleweed package metadata · freetds-config · 来源: download.opensuse.org
概览
Libraries to talk to Microsoft SQL Server and Sybase databases
历史
FreeTDS is a free implementation of the Sybase and Microsoft SQL Server client libraries and utilities for the Tabular Data Stream protocol. It gives Unix-like systems and other platforms DB-Library, CT-Library, ODBC, interactive SQL, and bulk-copy tooling for TDS-speaking databases.
The official user guide says FreeTDS began in early 1997 when Brian Bruns, a Sybase DBA, wanted DB-Library programs to run under Linux. The first work focused on DB-Library and TDS 5.0, then expanded to CT-Library compatibility, TDS 4.2, ODBC, and TDS 7.0/7.1 support.
As the project matured, the official history names contributors who expanded the ODBC driver, BCP support, CT-Library cursors, and documentation. The README describes the resulting codebase as portable C libraries plus utilities for Unix-like systems, Windows, VMS, and macOS.
FreeTDS grew because many open source applications needed access to Sybase and Microsoft SQL Server without relying on proprietary client libraries. The user guide explicitly cites use from Perl, PHP, and other language bindings that expect DB-Library or CT-Library APIs.
The project documentation describes the libraries as mature and stable, with users including large corporations, U.S. federal government systems, and web servers running Apache and PHP. That official framing explains why FreeTDS became a common dependency below scripting-language database adapters.
Package users commonly install FreeTDS for libtds, ODBC drivers, and command-line tools such as tsql, freebcp, fisql, osql, bsqldb, defncopy, and datacopy. Configuration revolves around freetds.conf and ODBC driver manager integration.
Current NEWS entries show ongoing maintenance around encryption, TDS 8.0, UTF-8 and old Sybase compatibility, Windows Unicode paths, ODBC behavior, bulk copy, and Unix configuration search paths.
FreeTDS is a classic compatibility-layer package: small command-line utilities on the surface, but a large C library stack underneath for database adapters. Packagers care about ODBC manager choices, OpenSSL support, iconv behavior, ABI naming, and where freetds.conf is searched.
It is also historically important because it kept DB-Library-style clients useful after vendors shifted focus. The official guide notes Microsoft's DB-Library deprecation while presenting FreeTDS as a maintained route for code that still fits that API.
安全态势
没有找到 freetds 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.
${HOME}/.freetds.conf${HOME}/.config/freetds.conf${sysconfdir}/freetds.conf (default /usr/local/etc/freetds.conf)可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bsqldb | cli | 全局可执行文件 | |
bsqlodbc | cli | 全局可执行文件 | |
datacopy | cli | 全局可执行文件 | |
defncopy | cli | 全局可执行文件 | |
fisql | cli | 全局可执行文件 | |
freebcp | cli | 全局可执行文件 | |
osql | cli | 全局可执行文件 | |
tdspool | cli | 全局可执行文件 | |
tsql | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:freetds |
|---|---|
| 版本 | 1.5.18 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/freetds |
| 主页 | https://www.freetds.org/ |
| 仓库 | https://github.com/FreeTDS/freetds |
| 上游文档 | https://www.freetds.org/docs.html |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://www.freetds.org/files/stable/freetds-1.5.18.tar.bz2 |
| 最后更新 | 2026-06-22T14:03:22-07:00 |
| Pulse | updated |
| 依赖 | openssl@3, unixodbc |
| 构建依赖 | pkgconf |
| macOS 提供的库 | krb5 |
| 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 | freetds |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
freetds-bin 1.3.17+ds-2+deb13u1
FreeTDS command-line utilities
sudo apt install freetds-binfreetds-common 1.3.17+ds-2+deb13u1
configuration files for FreeTDS SQL client libraries
sudo apt install freetds-commonfreetds-dev 1.3.17+ds-2+deb13u1
MS SQL and Sybase client library (static libs and headers)
sudo apt install freetds-devfreetds-doc 1.3.17+ds-2+deb13u1
FreeTDS documentation
sudo apt install freetds-doclibct4 1.3.17+ds-2+deb13u1
libraries for connecting to MS SQL and Sybase SQL servers
sudo apt install libct4libsybdb5 1.3.17+ds-2+deb13u1
libraries for connecting to MS SQL and Sybase SQL servers
sudo apt install libsybdb5tdsodbc 1.3.17+ds-2+deb13u1
ODBC driver for connecting to MS SQL and Sybase SQL servers
sudo apt install tdsodbcfreetds
nix profile install nixpkgs#freetdsfreetds-bin 1.3.17+ds-2build3
FreeTDS command-line utilities
sudo apt install freetds-binfreetds-common 1.3.17+ds-2build3
configuration files for FreeTDS SQL client libraries
sudo apt install freetds-commonfreetds-dev 1.3.17+ds-2build3
MS SQL and Sybase client library (static libs and headers)
sudo apt install freetds-devfreetds-doc 1.3.17+ds-2build3
FreeTDS documentation
sudo apt install freetds-doclibct4 1.3.17+ds-2build3
libraries for connecting to MS SQL and Sybase SQL servers
sudo apt install libct4libsybdb5 1.3.17+ds-2build3
libraries for connecting to MS SQL and Sybase SQL servers
sudo apt install libsybdb5tdsodbc 1.3.17+ds-2build3
ODBC driver for connecting to MS SQL and Sybase SQL servers
sudo apt install tdsodbcfreetds 1.5.14-r0
Tabular Datastream Library
sudo apk add freetds来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.