How to Install and Uninstall php-memcache Package on Debian 12 (Bookworm)

Last updated: December 28,2024

1. Install "php-memcache" package

Here is a brief guide to show you how to install php-memcache on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php-memcache

2. Uninstall "php-memcache" package

This tutorial shows how to uninstall php-memcache on Debian 12 (Bookworm):

$ sudo apt remove php-memcache $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-memcache package on Debian 12 (Bookworm)

Package: php-memcache
Version: 8.2-2+0~20231129.35+debian12~1.gbpbf55c7
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 25
Pre-Depends: php-common (>= 2:69~)
Depends: php8.3-memcache
Suggests: memcached
Homepage: https://github.com/websupport-sk/pecl-memcache
Priority: optional
Section: php
Filename: pool/main/p/php-memcache/php-memcache_8.2-2+0~20231129.35+debian12~1.gbpbf55c7_amd64.deb
Size: 15420
SHA256: a55ba2404b02ee0021b1b12559fd3e0f76179bec266ec87175a302d9b91965a9
SHA1: bfd3373bf87d32da01ddcd9200ed316ae6920b63
MD5sum: 6f08e6774befcf8f501f54da782cbb74
Description: memcache extension module for PHP
Description-md5: b5f90ad1ca85e157dd3635a5f0908836

Package: php-memcache
Version: 8.0+4.0.5.2+3.0.9~20170802.e702b5f9+-8
Installed-Size: 25
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Depends: php8.2-memcache
Pre-Depends: php-common (>= 2:69~)
Suggests: memcached
Description: memcache extension module for PHP
Description-md5: b5f90ad1ca85e157dd3635a5f0908836
Homepage: https://github.com/websupport-sk/pecl-memcache
Section: php
Priority: optional
Filename: pool/main/p/php-memcache/php-memcache_8.0+4.0.5.2+3.0.9~20170802.e702b5f9+-8_amd64.deb
Size: 15204
MD5sum: ea49ef37361c55124f8bf8f04e032be8
SHA256: 78054d96b37f22d0e161ab7671e7a2520fb1cd32194d53cac1c32eec0b95c0ac