Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 freetds

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install freetds

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install freetds

MacPorts ports tree · databases/freetds/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add freetds

Alpine Linux edge package indexes · freetds · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install freetds

Fedora Rawhide package metadata · freetds · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#freetds

nixpkgs package indexes · pkgs/by-name/fr/freetds/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S freetds

Arch Linux sync databases · freetds · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install freetds-bin

Debian stable package indexes · freetds-bin · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install freetds-config

openSUSE Tumbleweed package metadata · freetds-config · 来源: download.opensuse.org

概览

软件包摘要

Libraries to talk to Microsoft SQL Server and Sybase databases

命令和别名

  • bsqldb
  • bsqlodbc
  • datacopy
  • defncopy
  • fisql
  • freebcp
  • osql
  • tdspool
  • tsql

历史

项目历史与用法

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.

时间线

  • 1984: Sybase developed the TDS protocol for Sybase SQL Server, according to the FreeTDS user guide background.
  • 1990: Sybase and Microsoft entered a technology sharing agreement that led to Microsoft's SQL Server line.
  • 1997: Brian Bruns began FreeTDS to run DB-Library programs on Linux.
  • 2002: James K. Lowden became maintainer after joining to improve documentation.
  • 1.5: Release notes add TDS 8.0 support and allow freetds.conf under ~/.config on Unix.

Related projects

  • FreeTDS/JDBC was a related Java JDBC driver mentioned in the official project history.
  • DBD::Sybase is cited in the user guide as a Perl binding that works well with FreeTDS.
  • unixODBC and iODBC are related driver managers used by the FreeTDS ODBC implementation.

安全态势

尚未找到受保护工具覆盖

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

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
${HOME}/.freetds.conf${HOME}/.config/freetds.conf${sysconfdir}/freetds.conf (default /usr/local/etc/freetds.conf)

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bsqldbcli全局可执行文件
bsqlodbccli全局可执行文件
datacopycli全局可执行文件
defncopycli全局可执行文件
fisqlcli全局可执行文件
freebcpcli全局可执行文件
osqlcli全局可执行文件
tdspoolcli全局可执行文件
tsqlcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.5.18
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.freetds.org/

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖openssl@3, unixodbc
构建依赖pkgconf
macOS 提供的库krb5
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefreetds
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

freetds-bin 1.3.17+ds-2+deb13u1

FreeTDS command-line utilities

http://www.freetds.org/

sudo apt install freetds-bin
  • Section: database
  • Architecture: amd64
  • Source Package: freetds
  • 10 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Freetds
Debian stable package indexes · deb.debian.org · Debian stable package indexes: freetds-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

freetds-common 1.3.17+ds-2+deb13u1

configuration files for FreeTDS SQL client libraries

http://www.freetds.org/

sudo apt install freetds-common
  • Section: libs
  • Architecture: all
  • Source Package: freetds
  • normalized package name match
  • 匹配方式:Freetds
Debian stable package indexes · deb.debian.org · Debian stable package indexes: freetds-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

freetds-dev 1.3.17+ds-2+deb13u1

MS SQL and Sybase client library (static libs and headers)

http://www.freetds.org/

sudo apt install freetds-dev
  • Section: devel
  • Architecture: amd64
  • Source Package: freetds
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Freetds
Debian stable package indexes · deb.debian.org · Debian stable package indexes: freetds-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

freetds-doc 1.3.17+ds-2+deb13u1

FreeTDS documentation

http://www.freetds.org/

sudo apt install freetds-doc
  • Section: doc
  • Architecture: all
  • Source Package: freetds
  • normalized package name match
  • 匹配方式:Freetds
Debian stable package indexes · deb.debian.org · Debian stable package indexes: freetds-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libct4 1.3.17+ds-2+deb13u1

libraries for connecting to MS SQL and Sybase SQL servers

http://www.freetds.org/

sudo apt install libct4
  • Section: libs
  • Architecture: amd64
  • Source Package: freetds
  • 7 依赖
  • normalized package name match
  • 匹配方式:Freetds
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libct4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsybdb5 1.3.17+ds-2+deb13u1

libraries for connecting to MS SQL and Sybase SQL servers

http://www.freetds.org/

sudo apt install libsybdb5
  • Section: libs
  • Architecture: amd64
  • Source Package: freetds
  • 7 依赖
  • normalized package name match
  • 匹配方式:Freetds
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsybdb5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

tdsodbc 1.3.17+ds-2+deb13u1

ODBC driver for connecting to MS SQL and Sybase SQL servers

http://www.freetds.org/

sudo apt install tdsodbc
  • Section: libs
  • Architecture: amd64
  • Source Package: freetds
  • 11 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Freetds
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tdsodbc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

freetds

nix profile install nixpkgs#freetds
  • normalized package name match
  • 匹配方式:Freetds
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fr/freetds/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

freetds-bin 1.3.17+ds-2build3

FreeTDS command-line utilities

http://www.freetds.org/

sudo apt install freetds-bin
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: freetds
  • 10 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Freetds
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: freetds-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

freetds-common 1.3.17+ds-2build3

configuration files for FreeTDS SQL client libraries

http://www.freetds.org/

sudo apt install freetds-common
  • Section: libs
  • Architecture: all
  • Source Package: freetds
  • normalized package name match
  • 匹配方式:Freetds
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: freetds-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

freetds-dev 1.3.17+ds-2build3

MS SQL and Sybase client library (static libs and headers)

http://www.freetds.org/

sudo apt install freetds-dev
  • Section: devel
  • Architecture: amd64
  • Source Package: freetds
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Freetds
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: freetds-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

freetds-doc 1.3.17+ds-2build3

FreeTDS documentation

http://www.freetds.org/

sudo apt install freetds-doc
  • Section: doc
  • Architecture: all
  • Source Package: freetds
  • normalized package name match
  • 匹配方式:Freetds
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: freetds-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libct4 1.3.17+ds-2build3

libraries for connecting to MS SQL and Sybase SQL servers

http://www.freetds.org/

sudo apt install libct4
  • Section: libs
  • Architecture: amd64
  • Source Package: freetds
  • 7 依赖
  • normalized package name match
  • 匹配方式:Freetds
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libct4 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libsybdb5 1.3.17+ds-2build3

libraries for connecting to MS SQL and Sybase SQL servers

http://www.freetds.org/

sudo apt install libsybdb5
  • Section: libs
  • Architecture: amd64
  • Source Package: freetds
  • 7 依赖
  • normalized package name match
  • 匹配方式:Freetds
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsybdb5 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

tdsodbc 1.3.17+ds-2build3

ODBC driver for connecting to MS SQL and Sybase SQL servers

http://www.freetds.org/

sudo apt install tdsodbc
  • Section: libs
  • Architecture: amd64
  • Source Package: freetds
  • 11 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Freetds
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tdsodbc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

freetds 1.5.14-r0

Tabular Datastream Library

https://www.freetds.org/

sudo apk add freetds
  • License: GPL-2.0-or-later OR LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: freetds
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Freetds
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: freetds from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment