How to Install and Uninstall php-memcached Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 23,2024

1. Install "php-memcached" package

Please follow the guidance below to install php-memcached on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-memcached

2. Uninstall "php-memcached" package

This guide let you learn how to uninstall php-memcached on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php-memcached package on Ubuntu 18.04 LTS (Bionic Beaver)

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

Package: php-memcached
Architecture: amd64
Version: 3.0.1+2.2.0-1build2
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: 130
Provides: php7.2-memcached
Depends: php-igbinary, php-msgpack, ucf, php-common (>= 1:7.0+33~), phpapi-20170718, libc6 (>= 2.14), libmemcached11, libsasl2-2, zlib1g (>= 1:1.1.4)
Filename: pool/universe/p/php-memcached/php-memcached_3.0.1+2.2.0-1build2_amd64.deb
Size: 37424
MD5sum: b32d0c591d3577100a0369199865ccbe
SHA1: f9665ed2713696aebcfbba669706c9e039693776
SHA256: 8c8db137bed8b0d724a55379d8bdd241a638616f2e9c799320fb3dfc91af0fff
Homepage: http://pecl.php.net/package/memcached
Description: memcached extension module for PHP, uses libmemcached
Description-md5: 8dd75c15765c7e1abc72767ad4d0eaba