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

Last updated: November 04,2024

1. Install "php7.1-redis" package

This guide covers the steps necessary to install php7.1-redis on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.1-redis" package

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

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

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

Package: php7.1-redis
Source: php-redis-5
Priority: optional
Section: php
Installed-Size: 669
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.1-common, php7.1-igbinary, phpapi-20160303, 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.1-redis_5.3.7-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 155756
MD5sum: 772adb78d9dc7e7849f3895942fb2ba0
SHA1: c84a638396013ec73a58c6417da2d8b0ca522aa9
SHA256: 5930e142058b5a78cb7fd20319369223dbb2992193b35939d62d8b5f067a1462
Description: PHP extension for interfacing with Redis
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a