How To Install freetds on Fedora 36

In this tutorial we learn how to install freetds in Fedora 36. freetds is Implementation of the TDS (Tabular DataStream) protocol

Introduction

In this tutorial we learn how to install freetds on Fedora 36.

What is freetds

FreeTDS is a project to document and implement the TDS (Tabular DataStream) protocol. TDS is used by Sybase(TM) and Microsoft(TM) for client to database server communications. FreeTDS includes call level interfaces for DB-Lib, CT-Lib, and ODBC.

We can use yum or dnf to install freetds on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install freetds.

Install freetds on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install freetds using dnf by running the following command:

sudo dnf -y install freetds

Install freetds on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install freetds using yum by running the following command:

sudo yum -y install freetds

How To Uninstall freetds on Fedora 36

To uninstall only the freetds package we can use the following command:

sudo dnf remove freetds

freetds Package Contents on Fedora 36

/usr/bin/bsqldb
/usr/bin/bsqlodbc
/usr/bin/datacopy
/usr/bin/defncopy
/usr/bin/fisql
/usr/bin/freebcp
/usr/bin/osql
/usr/bin/tdspool
/usr/bin/tsql
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/46ccae71dfb3306c51ac6da24d944b0395fc99
/usr/lib/.build-id/18
/usr/lib/.build-id/18/5910654f15450ec418ba1b7c4caa5885c4c1e4
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/3f76597c65820b579553a3120d3d6ae0047681
/usr/lib/.build-id/91
/usr/lib/.build-id/91/e6f39970569ada729d0869ff931918b900b64e
/usr/lib/.build-id/92
/usr/lib/.build-id/92/3b270bb777faae9d0227085247d7c3454cbaa4
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/0b4d7c35c591613c7321dae3458981076d6ab5
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/d7730dde0f1923363b7d2bda1a788bfa82ff1e
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/7c4163cd6f94a150803962cd5ee5f7cec09489
/usr/share/doc/freetds
/usr/share/doc/freetds/AUTHORS.md
/usr/share/doc/freetds/BUGS.md
/usr/share/doc/freetds/NEWS.md
/usr/share/doc/freetds/README.md
/usr/share/doc/freetds/TODO.md
/usr/share/doc/freetds/images
/usr/share/doc/freetds/images/callouts
/usr/share/doc/freetds/images/callouts/1.gif
/usr/share/doc/freetds/images/callouts/10.gif
/usr/share/doc/freetds/images/callouts/2.gif
/usr/share/doc/freetds/images/callouts/3.gif
/usr/share/doc/freetds/images/callouts/4.gif
/usr/share/doc/freetds/images/callouts/5.gif
/usr/share/doc/freetds/images/callouts/6.gif
/usr/share/doc/freetds/images/callouts/7.gif
/usr/share/doc/freetds/images/callouts/8.gif
/usr/share/doc/freetds/images/callouts/9.gif
/usr/share/doc/freetds/images/caution.gif
/usr/share/doc/freetds/images/important.gif
/usr/share/doc/freetds/images/note.gif
/usr/share/doc/freetds/images/tip.gif
/usr/share/doc/freetds/images/warning.gif
/usr/share/doc/freetds/tds.html
/usr/share/doc/freetds/tds_ssl.html
/usr/share/doc/freetds/userguide
/usr/share/doc/freetds/userguide/index.html
/usr/share/licenses/freetds
/usr/share/licenses/freetds/COPYING.txt
/usr/share/man/man1/bsqldb.1.gz
/usr/share/man/man1/bsqlodbc.1.gz
/usr/share/man/man1/datacopy.1.gz
/usr/share/man/man1/defncopy.1.gz
/usr/share/man/man1/fisql.1.gz
/usr/share/man/man1/freebcp.1.gz
/usr/share/man/man1/osql.1.gz
/usr/share/man/man1/tsql.1.gz

References

Summary

In this tutorial we learn how to install freetds on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).