How to Install and Uninstall php-memcached Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "php-memcached" package

Learn how to install php-memcached on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php-memcached

2. Uninstall "php-memcached" package

Here is a brief guide to show you how to uninstall php-memcached on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php-memcached package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php-memcached
Priority: optional
Section: php
Installed-Size: 18
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 3.2.0++-1+ubuntu20.04.1+deb.sury.org+2
Depends: ucf, php8.3-memcached, php-igbinary, php-msgpack
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-memcached/php-memcached_3.2.0++-1+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 8320
MD5sum: ac0f065a3b87f61ff7aa79ce5696f598
SHA1: 9b1e4e77993fe7d02310023a75b5ccc64d0297d2
SHA256: d500c761b2b494d517edfc395294c2b4fa362d468e89bce4fc3c4c80916d0afe
Description: memcached extension module for PHP, uses libmemcached
Description-md5: 8dd75c15765c7e1abc72767ad4d0eaba

Package: php-memcached
Architecture: amd64
Version: 3.1.4+2.2.0-1
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PECL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 155
Provides: php7.4-memcached
Pre-Depends: php-common (>= 2:69~)
Depends: php-igbinary, php-msgpack, ucf, phpapi-20190902, libc6 (>= 2.14), libmemcached11, libsasl2-2 (>= 2.1.27+dfsg), zlib1g (>= 1:1.1.4)
Filename: pool/universe/p/php-memcached/php-memcached_3.1.4+2.2.0-1_amd64.deb
Size: 41704
MD5sum: 2224505a6eb19b67aa33282be9399daf
SHA1: a63d3b8977ca4a47e2bf13c8814cbd1b25060e9b
SHA256: e79d57ce4e9a5fe018699a50664ec87c67be389b42680a744c945dab1ee509b4
Homepage: http://pecl.php.net/package/memcached
Description: memcached extension module for PHP, uses libmemcached
Description-md5: 8dd75c15765c7e1abc72767ad4d0eaba