How To Install postgresql-odbc on Fedora 36

In this tutorial we learn how to install postgresql-odbc in Fedora 36. postgresql-odbc is PostgreSQL ODBC driver

Introduction

In this tutorial we learn how to install postgresql-odbc on Fedora 36.

What is postgresql-odbc

This package includes the driver needed for applications to access a PostgreSQL system via ODBC (Open Database Connectivity).

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

Install postgresql-odbc 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 postgresql-odbc using dnf by running the following command:

sudo dnf -y install postgresql-odbc

Install postgresql-odbc 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 postgresql-odbc using yum by running the following command:

sudo yum -y install postgresql-odbc

How To Uninstall postgresql-odbc on Fedora 36

To uninstall only the postgresql-odbc package we can use the following command:

sudo dnf remove postgresql-odbc

postgresql-odbc Package Contents on Fedora 36

---
title: "How To Install postgresql-odbc on Fedora 36"
linkTitle: "postgresql-odbc"
type: "docs"
description: "In this tutorial we learn how to install postgresql-odbc in Fedora 36. postgresql-odbc is PostgreSQL ODBC driver"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/postgresql-odbc-featured.png
---

## Introduction

In this tutorial we learn how to install `postgresql-odbc` on Fedora 36.

### What is `postgresql-odbc`

> This package includes the driver needed for applications to access a PostgreSQL system via ODBC (Open Database Connectivity).  

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

## Install postgresql-odbc on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install postgresql-odbc

Install postgresql-odbc 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 postgresql-odbc using yum by running the following command:

sudo yum -y install postgresql-odbc

How To Uninstall postgresql-odbc on Fedora 36

To uninstall only the postgresql-odbc package we can use the following command:

sudo dnf remove postgresql-odbc

postgresql-odbc Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/f0e21485ebc23de793c1d97a9568f37bd66f0e
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/c5a4f787f9207d0e26004b35e1552e2cff4352
/usr/lib64/psqlodbc.so
/usr/lib64/psqlodbca.so
/usr/lib64/psqlodbcw.so
/usr/share/doc/postgresql-odbc
/usr/share/doc/postgresql-odbc/README.rpmdist
/usr/share/doc/postgresql-odbc/README.txt
/usr/share/doc/postgresql-odbc/config-opt.html
/usr/share/doc/postgresql-odbc/config.html
/usr/share/doc/postgresql-odbc/editConfiguration.jpg
/usr/share/doc/postgresql-odbc/license.txt
/usr/share/doc/postgresql-odbc/msdtc_pgxalib_tracing_README.txt
/usr/share/doc/postgresql-odbc/msdtc_pgxalib_tracing_disable.reg
/usr/share/doc/postgresql-odbc/msdtc_pgxalib_tracing_enable.reg
/usr/share/doc/postgresql-odbc/readme.txt
/usr/share/doc/postgresql-odbc/release-7.3.html
/usr/share/doc/postgresql-odbc/release.html
/usr/share/doc/postgresql-odbc/unix-compilation.html
/usr/share/doc/postgresql-odbc/win32-compilation.html

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/04 /usr/lib/.build-id/04/1e331fb8fc1303405b50c4df8efc67a1b195f6 /usr/lib/.build-id/85 /usr/lib/.build-id/85/9f33fd53a7b87a6f4cdfef133f54a0f959610f /usr/lib/psqlodbc.so /usr/lib/psqlodbca.so /usr/lib/psqlodbcw.so /usr/share/doc/postgresql-odbc /usr/share/doc/postgresql-odbc/README.rpmdist /usr/share/doc/postgresql-odbc/README.txt /usr/share/doc/postgresql-odbc/config-opt.html /usr/share/doc/postgresql-odbc/config.html /usr/share/doc/postgresql-odbc/editConfiguration.jpg /usr/share/doc/postgresql-odbc/license.txt /usr/share/doc/postgresql-odbc/msdtc_pgxalib_tracing_README.txt /usr/share/doc/postgresql-odbc/msdtc_pgxalib_tracing_disable.reg /usr/share/doc/postgresql-odbc/msdtc_pgxalib_tracing_enable.reg /usr/share/doc/postgresql-odbc/readme.txt /usr/share/doc/postgresql-odbc/release-7.3.html /usr/share/doc/postgresql-odbc/release.html /usr/share/doc/postgresql-odbc/unix-compilation.html /usr/share/doc/postgresql-odbc/win32-compilation.html


## References

* [postgresql-odbc website](https://odbc.postgresql.org/)

## Summary

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