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

Last updated: November 14,2024

1. Install "php7.0-redis" package

Please follow the step by step instructions below to install php7.0-redis on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.0-redis" package

This guide let you learn how to uninstall php7.0-redis on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php7.0-redis
Source: php-redis-5
Priority: optional
Section: php
Installed-Size: 677
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1:5.3.7-1+ubuntu20.04.1+deb.sury.org+1
Replaces: php-redis (<< 1:5.3.7-1+ubuntu20.04.1+deb.sury.org+1~)
Suggests: redis-server
Provides: php-redis
Depends: php7.0-common, php7.0-igbinary, phpapi-20151012, libc6 (>= 2.14), liblz4-1 (>= 0.0~r130), libzstd1 (>= 1.3.2)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-redis (<< 1:5.3.7-1+ubuntu20.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-redis-5/php7.0-redis_5.3.7-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 156044
MD5sum: 32b51c7f03809e54cf822e69e6b90cf6
SHA1: 50699337bb3e2ce150e32c9c62f575dfa407218a
SHA256: 8241c0e5ea89796c6a1e40d9fd920761e7b6aa7ab6af4abae8c0116aad453fef
Description: PHP extension for interfacing with Redis
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a