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

Last updated: December 30,2024

1. Install "php8.1-redis" package

Here is a brief guide to show you how to install php8.1-redis on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php8.1-redis" package

Please follow the guidelines below to uninstall php8.1-redis on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php8.1-redis
Source: php-redis
Priority: optional
Section: php
Installed-Size: 838
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: php8.1-common, php8.1-igbinary, phpapi-20210902, 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/php8.1-redis_6.0.2-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 187660
MD5sum: 4897f1da4eda5a06808c0c404b42d18d
SHA1: 6d604fb3c07fbd7d53324467af4c5544f66966da
SHA256: 554ae75f6eb8e7c7738b4bba5cd2dff7bcd7928c380fa01fcd9165ef5ae256e2
Description: PHP extension for interfacing with Redis
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a