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

Last updated: May 19,2024

1. Install "php7.4-redis" package

Please follow the steps below to install php7.4-redis on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.4-redis" package

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

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

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

Package: php7.4-redis
Source: php-redis
Priority: optional
Section: php
Installed-Size: 806
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.4-common, php7.4-igbinary, phpapi-20190902, 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.4-redis_6.0.2-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 184640
MD5sum: b7d619cd04369bcbf75cd8c036a0a10a
SHA1: dabf091d327c9f70d6183765031ca85553a353e3
SHA256: 9244ccf4c597929bd57ae37798e635e49e0e525392ea27e1f1a4a94387b4f30f
Description: PHP extension for interfacing with Redis
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a