How to Install and Uninstall php7.0-redis Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: July 01,2024

1. Install "php7.0-redis" package

This guide covers the steps necessary to install php7.0-redis on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.0-redis" package

Please follow the instructions below to uninstall php7.0-redis on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php7.0-redis package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php7.0-redis
Source: php-redis
Priority: optional
Section: php
Installed-Size: 649
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 5.3.7+4.3.0-1+ubuntu18.04.1+deb.sury.org+2
Replaces: php-redis (<< 5.3.7+4.3.0-1+ubuntu18.04.1+deb.sury.org+2~)
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 (<< 5.3.7+4.3.0-1+ubuntu18.04.1+deb.sury.org+2~)
Filename: pool/main/p/php-redis/php7.0-redis_5.3.7+4.3.0-1+ubuntu18.04.1+deb.sury.org+2_amd64.deb
Size: 151848
MD5sum: 383dc7c247145c0d6a6dd17bdeb51d36
SHA1: 05943f3c6890211d9dd1e05666e17f7a86e8dbe6
SHA256: b338ae53c182cee121422135ab565d83e86d9b071804d60d92b2ad1a6bb4f401
Description: PHP extension for interfacing with Redis
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a