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

Last updated: November 14,2024

1. Install "php7.0-odbc" package

This guide covers the steps necessary to install php7.0-odbc on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php7.0-odbc

2. Uninstall "php7.0-odbc" package

Please follow the steps below to uninstall php7.0-odbc on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php7.0-odbc $ sudo apt autoclean && sudo apt autoremove

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

Package: php7.0-odbc
Source: php7.0
Priority: optional
Section: php
Installed-Size: 136
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-68+ubuntu20.04.1+deb.sury.org+2
Provides: php-odbc, php-pdo-odbc, php7.0-pdo-odbc
Depends: php-common (>= 1:81~), ucf, php7.0-common (= 7.0.33-68+ubuntu20.04.1+deb.sury.org+2), libc6 (>= 2.14), libodbc1 (>= 2.3.1)
Filename: pool/main/p/php7.0/php7.0-odbc_7.0.33-68+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 31992
MD5sum: d1a56529b42699804a9ac09a15b5fc0d
SHA1: f78310809f1601b0635643e2cfd865abbf7a21c2
SHA256: 9536b00bda7679f4bad188017564e18bff853292b8ba75daaca55e1b5e5dd87d
Description: ODBC module for PHP
Description-md5: be94f53ae2f70ea922c962bebf58357c