# Installer freetds avec Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de freetds pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:freetds
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install freetds
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install freetds
```

  Preuve: MacPorts ports tree: databases/freetds/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add freetds
```

  Preuve: Alpine Linux edge package indexes: freetds from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install freetds
```

  Preuve: Fedora Rawhide package metadata: freetds from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#freetds
```

  Preuve: nixpkgs package indexes: pkgs/by-name/fr/freetds/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S freetds
```

  Preuve: Arch Linux sync databases: freetds from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install freetds-bin
```

  Preuve: Debian stable package indexes: freetds-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install freetds-config
```

  Preuve: openSUSE Tumbleweed package metadata: freetds-config from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:freetds
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.5.18
- **Résumé source:** Libraries to talk to Microsoft SQL Server and Sybase databases
- **Page d'accueil:** <https://www.freetds.org/>
- **Dépôt:** <https://github.com/FreeTDS/freetds>
- **Dernière mise à jour:** 2026-06-22T14:03:22-07:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- bsqldb (alias)
- bsqlodbc (alias)
- datacopy (alias)
- defncopy (alias)
- fisql (alias)
- freebcp (alias)
- osql (alias)
- tdspool (alias)
- tsql (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.5.18
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://github.com/FreeTDS/freetds>
- <https://raw.githubusercontent.com/FreeTDS/freetds/master/NEWS.md>
- <https://raw.githubusercontent.com/FreeTDS/freetds/master/README.md>
- <https://www.freetds.org/userguide/FreeTDShistory.html>
- <https://www.freetds.org/userguide/projects.html>
- <https://www.freetds.org/userguide/what.html>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour freetds. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.



## 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: ${HOME}/.freetds.conf, ${HOME}/.config/freetds.conf, ${sysconfdir}/freetds.conf (default /usr/local/etc/freetds.conf)
## Autres enregistrements de gestionnaires de paquets

- Debian apt - freetds-bin - 1.3.17+ds-2+deb13u1: normalized package name match | Debian stable package indexes: freetds-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FreeTDS command-line utilities | http://www.freetds.org/
- Debian apt - freetds-common - 1.3.17+ds-2+deb13u1: normalized package name match | Debian stable package indexes: freetds-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | configuration files for FreeTDS SQL client libraries | http://www.freetds.org/
- Debian apt - freetds-dev - 1.3.17+ds-2+deb13u1: normalized package name match | Debian stable package indexes: freetds-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MS SQL and Sybase client library (static libs and headers) | http://www.freetds.org/
- Debian apt - freetds-doc - 1.3.17+ds-2+deb13u1: normalized package name match | Debian stable package indexes: freetds-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FreeTDS documentation | http://www.freetds.org/
- Debian apt - libct4 - 1.3.17+ds-2+deb13u1: normalized package name match | Debian stable package indexes: libct4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | libraries for connecting to MS SQL and Sybase SQL servers | http://www.freetds.org/
- Debian apt - libsybdb5 - 1.3.17+ds-2+deb13u1: normalized package name match | Debian stable package indexes: libsybdb5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | libraries for connecting to MS SQL and Sybase SQL servers | http://www.freetds.org/
- Debian apt - tdsodbc - 1.3.17+ds-2+deb13u1: normalized package name match | Debian stable package indexes: tdsodbc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ODBC driver for connecting to MS SQL and Sybase SQL servers | http://www.freetds.org/
- Nix - freetds: normalized package name match | nixpkgs package indexes: pkgs/by-name/fr/freetds/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - freetds-bin - 1.3.17+ds-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: freetds-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | FreeTDS command-line utilities | http://www.freetds.org/
- Ubuntu apt - freetds-common - 1.3.17+ds-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: freetds-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | configuration files for FreeTDS SQL client libraries | http://www.freetds.org/
- Ubuntu apt - freetds-dev - 1.3.17+ds-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: freetds-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | MS SQL and Sybase client library (static libs and headers) | http://www.freetds.org/
- Ubuntu apt - freetds-doc - 1.3.17+ds-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: freetds-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | FreeTDS documentation | http://www.freetds.org/
- Ubuntu apt - libct4 - 1.3.17+ds-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libct4 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | libraries for connecting to MS SQL and Sybase SQL servers | http://www.freetds.org/
- Ubuntu apt - libsybdb5 - 1.3.17+ds-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libsybdb5 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | libraries for connecting to MS SQL and Sybase SQL servers | http://www.freetds.org/
- Ubuntu apt - tdsodbc - 1.3.17+ds-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: tdsodbc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | ODBC driver for connecting to MS SQL and Sybase SQL servers | http://www.freetds.org/
- apk - freetds - 1.5.14-r0: normalized package name match | Alpine Linux edge package indexes: freetds from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Tabular Datastream Library | https://www.freetds.org/


## Combined YAML source

View the package source record on GitHub. [combined/freetds.yml](https://github.com/mxcl/pkgdb/blob/main/combined/freetds.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
