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

Last updated: December 29,2024

1. Install "php7.2-memcache" package

Please follow the guidelines below to install php7.2-memcache on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php7.2-memcache

2. Uninstall "php7.2-memcache" package

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

$ sudo apt remove php7.2-memcache $ sudo apt autoclean && sudo apt autoremove

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

Package: php7.2-memcache
Source: php-memcache-4
Priority: optional
Section: php
Installed-Size: 150
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1:4.0.5.2-1+ubuntu20.04.1+deb.sury.org+1
Replaces: php-memcache (<< 1:4.0.5.2-1+ubuntu20.04.1+deb.sury.org+1~)
Suggests: memcached
Provides: php-memcache
Depends: php7.2-common, phpapi-20170718, libc6 (>= 2.25), zlib1g (>= 1:1.1.4)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-memcache (<< 1:4.0.5.2-1+ubuntu20.04.1+deb.sury.org+1~)
Filename: pool/main/p/php-memcache-4/php7.2-memcache_4.0.5.2-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 50884
MD5sum: 5a75ea840a9c199313fefefbc740d9a0
SHA1: d950cad5bac683306c8a40e3731d39b94fea4b32
SHA256: ab658b4cc193c95d24f9ae173452b49605fb82b2ab6b1db98ab36d092c896791
Description: memcache extension module for PHP
Description-md5: d2ac98f44f310f359463dd42bfbb2873