How to Install and Uninstall php-odbc Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 07,2024

1. Install "php-odbc" package

This guide let you learn how to install php-odbc on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php-odbc

2. Uninstall "php-odbc" package

Please follow the guidelines below to uninstall php-odbc on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php-odbc package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php-odbc
Source: php-defaults (94+ubuntu20.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.3+94+ubuntu20.04.1+deb.sury.org+2
Depends: php-common, php8.3-odbc
Filename: pool/main/p/php-defaults/php-odbc_8.3+94+ubuntu20.04.1+deb.sury.org+2_all.deb
Size: 7340
MD5sum: d814e3a071654859460f4ed331222bc0
SHA1: cd637ae40c6d2e9e70b55a079f157fa853900880
SHA256: 00b639cc37590d5af538b552e037a96642643aa91835416c908361267e262b19
Description: ODBC module for PHP [default]
Description-md5: edf291a8bbc184b26935f823c3ad8061

Package: php-odbc
Architecture: all
Version: 2:7.4+75
Priority: optional
Section: php
Source: php-defaults (75)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Depends: php-common, php7.4-odbc
Filename: pool/main/p/php-defaults/php-odbc_7.4+75_all.deb
Size: 2000
MD5sum: d293cce8dca4d8ae1749f554acb11cd2
SHA1: 1acdab6f8f8300155fd99b1d5745f9946f94d6fc
SHA256: 2f642acecf3b446f9d5b243cd3b8ee664e0f79b48220d6f64e0929427b4f1e0a
Description: ODBC module for PHP [default]
Description-md5: 1380a78f4e0995236481855456d6015e