How to Install and Uninstall php7.2-redis Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 08,2024

1. Install "php7.2-redis" package

Learn how to install php7.2-redis on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php7.2-redis

2. Uninstall "php7.2-redis" package

This is a short guide on how to uninstall php7.2-redis on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php7.2-redis $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2-redis package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.2-redis
Source: php-redis
Priority: optional
Section: php
Installed-Size: 818
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 6.0.2-1+ubuntu20.04.1+deb.sury.org+1
Replaces: php-redis (<< 6.0.2-1+ubuntu20.04.1+deb.sury.org+1~)
Suggests: redis-server
Provides: php-redis
Depends: php7.2-common, php7.2-igbinary, phpapi-20170718, libc6 (>= 2.14), liblz4-1 (>= 0.0~r130), libzstd1 (>= 1.3.2)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-redis (<< 6.0.2-1+ubuntu20.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-redis/php7.2-redis_6.0.2-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 186352
MD5sum: 6992baef2b0dceffc57e62d413cd3d27
SHA1: e504fce451f02950492096854badf748e88b2e30
SHA256: 4e6e7cb162b64017acb63175e48b396be7334e455a13831418d6289306f3c182
Description: PHP extension for interfacing with Redis
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a