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

Last updated: May 19,2024

1. Install "php-odbc" package

Please follow the guidance below to install php-odbc on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-odbc

2. Uninstall "php-odbc" package

This tutorial shows how to uninstall php-odbc on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php-odbc
Source: php-defaults (92+ubuntu18.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu18.04.1+deb.sury.org+2
Depends: php-common, php8.1-odbc
Filename: pool/main/p/php-defaults/php-odbc_8.1+92+ubuntu18.04.1+deb.sury.org+2_all.deb
Size: 7288
MD5sum: b5ae279a7aacef677ffb6c535ff9d6f7
SHA1: 1a9e4f274b4214cf5f2fb313543b23cf0f832f69
SHA256: f9853ceb611773bde5927bcb49e20e74c4649f61625167619f1be4a0baa323d0
Description: ODBC module for PHP [default]
Description-md5: 941def20a5aa5ec488e78d1fde77bf55

Package: php-odbc
Architecture: all
Version: 1:7.2+60ubuntu1
Priority: optional
Section: php
Source: php-defaults (60ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12
Depends: php-common, php7.2-odbc
Filename: pool/main/p/php-defaults/php-odbc_7.2+60ubuntu1_all.deb
Size: 2000
MD5sum: 78a58af2bd76c8ad207ebd315be80f7a
SHA1: 2387a553aa0729524b3636986af117e47742a21e
SHA256: 15aba5cdcceda5fbe4848aa5f5025f05b38a942aa2c495187bf9634b713b4ab8
Description: ODBC module for PHP [default]
Description-md5: 0cfcbae6dc3025582b58a73c741d3dc5
Supported: 5y