How to Install and Uninstall php-odbc.x86_64 Package on Amazon Linux 2

Last updated: October 06,2024

1. Install "php-odbc.x86_64" package

This guide covers the steps necessary to install php-odbc.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install php-odbc.x86_64

2. Uninstall "php-odbc.x86_64" package

Please follow the guidelines below to uninstall php-odbc.x86_64 on Amazon Linux 2:

$ sudo yum remove php-odbc.x86_64 $ sudo yum autoremove

3. Information about the php-odbc.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : php-odbc
Arch : x86_64
Version : 7.4.28
Release : 1.amzn2
Size : 93 k
Repo : amzn2extra-php7.4/2/x86_64
Summary : A module for PHP applications that use ODBC databases
URL : http://www.php.net/
License : PHP
Description : The php-odbc package contains a dynamic shared object that will
: add database support through ODBC to PHP. ODBC is an open
: specification which provides a consistent API for developers to
: use for accessing data sources (which are often, but not always,
: databases). PHP is an HTML-embeddable scripting language. If you
: need ODBC support for PHP applications, you will need to install
: this package and the php package.