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

Last updated: January 09,2025

1. Install "php-pecl-redis.x86_64" package

Please follow the steps below to install php-pecl-redis.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install php-pecl-redis.x86_64

2. Uninstall "php-pecl-redis.x86_64" package

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

$ sudo yum remove php-pecl-redis.x86_64 $ sudo yum autoremove

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

Loaded plugins: ovl, priorities
Available Packages
Name : php-pecl-redis
Arch : x86_64
Version : 5.2.1
Release : 1.amzn2
Size : 191 k
Repo : amzn2extra-php7.4/2/x86_64
Summary : PHP extension for interfacing with Redis
URL : http://pecl.php.net/package/redis
License : PHP
Description : This extension provides an API for communicating with Redis
: servers.