How to Install and Uninstall odbc-postgresql Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 18,2024

1. Install "odbc-postgresql" package

Here is a brief guide to show you how to install odbc-postgresql on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install odbc-postgresql

2. Uninstall "odbc-postgresql" package

Please follow the step by step instructions below to uninstall odbc-postgresql on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove odbc-postgresql $ sudo apt autoclean && sudo apt autoremove

3. Information about the odbc-postgresql package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: odbc-postgresql
Architecture: amd64
Version: 1:10.01.0000-1
Multi-Arch: same
Priority: optional
Section: universe/libs
Source: psqlodbc
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PostgreSQL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1281
Depends: libc6 (>= 2.16), libpq5 (>= 9.2~beta3), odbcinst1debian2 (>= 2.3.1)
Suggests: unixodbc-bin
Breaks: libiodbc2 (<= 3.52.7-2), odbcinst1debian2 (<< 2.2.14p2-3), unixodbc (<< 2.2.14p2-3)
Enhances: unixodbc
Filename: pool/universe/p/psqlodbc/odbc-postgresql_10.01.0000-1_amd64.deb
Size: 378944
MD5sum: 530d917742df2054e7b12094af3dc0e6
SHA1: a7a5e37790decc9b72dece89ca81d90b0d98196c
SHA256: 309ee537693604025fa7cf0b683819a3d8a35d7363e70d659482c75ea0e64695
Homepage: https://odbc.postgresql.org/
Description: ODBC driver for PostgreSQL
Description-md5: ca9991df6514508e654fa440ff1560cd