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

Last updated: May 16,2024

1. Install "php-apcu" package

Please follow the guidelines below to install php-apcu on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php-apcu

2. Uninstall "php-apcu" package

Please follow the guidelines below to uninstall php-apcu on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php-apcu
Priority: optional
Section: php
Installed-Size: 15
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 5.1.23-1+ubuntu20.04.1+deb.sury.org+1
Suggests: php-gd
Depends: php8.3-apcu
Conflicts: php-xcache, php-yac
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-apcu/php-apcu_5.1.23-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 7160
MD5sum: b77991b58906920d7352069ed9245f3f
SHA1: ae9032e57dd10ec017dfc3f1550627984f9576f3
SHA256: 231b5591811f39ab6e29cc7375a0bdd315a9de443d907f122834271b003b72a5
Description: APC User Cache for PHP
Description-md5: 0d7462c8f566c71b65f0d4bcf7806445

Package: php-apcu
Architecture: amd64
Version: 5.1.18+4.0.11-1build1
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: 181
Provides: php-user-cache, php7.4-apcu
Pre-Depends: php-common (>= 2:69~)
Depends: phpapi-20190902, libc6 (>= 2.14)
Recommends: php-apcu-bc
Suggests: php-gd
Conflicts: php-user-cache, php-xcache, php-yac
Replaces: php-user-cache
Filename: pool/universe/p/php-apcu/php-apcu_5.1.18+4.0.11-1build1_amd64.deb
Size: 41776
MD5sum: 3d462e27d17e283a9d0cfc52a1365583
SHA1: 102840095e08cf062e80cbbe965ddf8887012e5a
SHA256: 8fb942069f696d5cf6fc894cb2166ba6195fc614c8e658a229d1785171b1b293
Homepage: https://pecl.php.net/package/APCu
Description: APC User Cache for PHP
Description-md5: 0d7462c8f566c71b65f0d4bcf7806445