pkg.sopackage field notes

brew / rank 226

Install freetds with Homebrew

Libraries to talk to Microsoft SQL Server and Sybase databases. Version 1.5.18 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified ยท 100%
brew install freetds

provider-native install command

overview

Package summary

Libraries to talk to Microsoft SQL Server and Sybase databases

Commands and aliases

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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for freetds. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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)

executables

Installed executables

CommandKindExposureNote
bsqldbexecutableindexed executableDiscovered from the local executable index.
bsqlodbcexecutableindexed executableDiscovered from the local executable index.
datacopyexecutableindexed executableDiscovered from the local executable index.
defncopyexecutableindexed executableDiscovered from the local executable index.
fisqlexecutableindexed executableDiscovered from the local executable index.
freebcpexecutableindexed executableDiscovered from the local executable index.
osqlexecutableindexed executableDiscovered from the local executable index.
tdspoolexecutableindexed executableDiscovered from the local executable index.
tsqlexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version1.5.18
manager updated2026-06-22
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:freetds
Version1.5.18
Package managerHomebrew
Homepagehttps://www.freetds.org/
Repositoryhttps://github.com/FreeTDS/freetds
Last updated2026-06-22T14:03:22-07:00
Pulseupdated
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation