How to Install and Uninstall php-redis Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 27,2024

1. Install "php-redis" package

In this section, we are going to explain the necessary steps to install php-redis on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-redis

2. Uninstall "php-redis" package

Please follow the step by step instructions below to uninstall php-redis on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php-redis package on Ubuntu 21.10 (Impish Indri)

Package: php-redis
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 5.3.4+4.3.0-5+ubuntu21.10.1+deb.sury.org+3
Suggests: redis-server
Depends: php8.1-redis, php-igbinary
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-redis/php-redis_5.3.4+4.3.0-5+ubuntu21.10.1+deb.sury.org+3_amd64.deb
Size: 5972
MD5sum: 0b36c94949f685d2dd142cb6cda24943
SHA1: f64aded59827c208f9c70a34a3890c820fe8a8c9
SHA256: 88e956acb0706987a91de6d067980a7e3079c5720837806d2b92a5384d5ac184
Description-en: PHP extension for interfacing with Redis
This extension allows php applications to communicate with the Redis
persistent key-value store. The php-redis module provides an easy
object oriented interface.
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a

Package: php-redis
Architecture: amd64
Version: 5.3.2+4.3.0-2+deb11u1build1
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PECL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 648
Provides: php8.0-redis
Pre-Depends: php-common (>= 2:69~)
Depends: php-igbinary, phpapi-20200930, libc6 (>= 2.14)
Suggests: redis-server
Filename: pool/universe/p/php-redis/php-redis_5.3.2+4.3.0-2+deb11u1build1_amd64.deb
Size: 147384
MD5sum: b05abcd88b6252970d6f891824776c57
SHA1: 5d1b3b1a36c36cc7b1f5841b05a91334c0ea8cba
SHA256: e42b100986bdd415ec5d2ac3460306a4aa5482dd9da670c1efa05a88ed02fb49
SHA512: ffebb183407d047f0417fdf4672d1ab2f41d7f2dc00d65d4b9e28ed9f3be88de21e228ae0c247cb8b89e89ecfb1007b3c9f9bed30139511fe593c10749208f4f
Homepage: https://pecl.php.net/package/redis
Description-en: PHP extension for interfacing with Redis
This extension allows php applications to communicate with the Redis
persistent key-value store. The php-redis module provides an easy
object oriented interface.
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a