How to Install and Uninstall php-redis Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: November 23,2024
1. Install "php-redis" package
This guide covers the steps necessary to install php-redis on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
php-redis
Copied
2. Uninstall "php-redis" package
Please follow the instructions below to uninstall php-redis on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
php-redis
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php-redis package on Ubuntu 20.04 LTS (Focal Fossa)
Package: php-redis
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 6.0.2-1+ubuntu20.04.1+deb.sury.org+1
Suggests: redis-server
Depends: php8.3-redis, php-igbinary
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-redis/php-redis_6.0.2-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 6280
MD5sum: 337d5435e6c99204eeeadedccbd7add1
SHA1: 335d0fe42cf4999b217bcb63601c7d523f4f6cad
SHA256: 7cac3742602b120f958226d94f5be0aeb3e2214576858199c79575680dde810b
Description: PHP extension for interfacing with Redis
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a
Package: php-redis
Architecture: amd64
Version: 5.1.1+4.3.0-1
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: 607
Provides: php7.4-redis
Pre-Depends: php-common (>= 2:69~)
Depends: php-igbinary, phpapi-20190902, libc6 (>= 2.14)
Suggests: redis-server
Filename: pool/universe/p/php-redis/php-redis_5.1.1+4.3.0-1_amd64.deb
Size: 136952
MD5sum: 1930060a1de9f9f457f37203fcef0d5d
SHA1: b6b096caa550b7b7a04df476e5db72806ca52370
SHA256: b45ca9bcb31774d568a1d85415bd3448fbb040238b51de649f35dfe857eb3468
Homepage: https://pecl.php.net/package/redis
Description: PHP extension for interfacing with Redis
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 6.0.2-1+ubuntu20.04.1+deb.sury.org+1
Suggests: redis-server
Depends: php8.3-redis, php-igbinary
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-redis/php-redis_6.0.2-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 6280
MD5sum: 337d5435e6c99204eeeadedccbd7add1
SHA1: 335d0fe42cf4999b217bcb63601c7d523f4f6cad
SHA256: 7cac3742602b120f958226d94f5be0aeb3e2214576858199c79575680dde810b
Description: PHP extension for interfacing with Redis
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a
Package: php-redis
Architecture: amd64
Version: 5.1.1+4.3.0-1
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: 607
Provides: php7.4-redis
Pre-Depends: php-common (>= 2:69~)
Depends: php-igbinary, phpapi-20190902, libc6 (>= 2.14)
Suggests: redis-server
Filename: pool/universe/p/php-redis/php-redis_5.1.1+4.3.0-1_amd64.deb
Size: 136952
MD5sum: 1930060a1de9f9f457f37203fcef0d5d
SHA1: b6b096caa550b7b7a04df476e5db72806ca52370
SHA256: b45ca9bcb31774d568a1d85415bd3448fbb040238b51de649f35dfe857eb3468
Homepage: https://pecl.php.net/package/redis
Description: PHP extension for interfacing with Redis
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a