How to Install and Uninstall php-odbc Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 18,2024

1. Install "php-odbc" package

Here is a brief guide to show you how to install php-odbc on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install php-odbc

2. Uninstall "php-odbc" package

In this section, we are going to explain the necessary steps to uninstall php-odbc on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php-odbc package on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

Package: php-odbc
Architecture: all
Version: 2:8.1+92ubuntu1
Priority: optional
Section: php
Source: php-defaults (92ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14
Depends: php-common, php8.1-odbc
Filename: pool/main/p/php-defaults/php-odbc_8.1+92ubuntu1_all.deb
Size: 1832
MD5sum: 380d6182d1cc7fbca6934e7321741a9b
SHA1: 7a59635c6810c6f8170c1a3024dd9f35cf0f48ce
SHA256: bec705023b98ce7e7bfd66afe4c49641fae7dc0d8ade412cd541838bc0b1f3a3
SHA512: e694eac95048487868f69937bde84f62e65ace982fdc633fdd1c77297175adcd6c52d5f53610974b5b52be3121869691c4727a5515218e5818d448080254a717
Description: ODBC module for PHP [default]
Description-md5: 941def20a5aa5ec488e78d1fde77bf55