How to Install and Uninstall php8.1-opcache Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 26,2024

1. Install "php8.1-opcache" package

Please follow the guidance below to install php8.1-opcache on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php8.1-opcache

2. Uninstall "php8.1-opcache" package

This guide covers the steps necessary to uninstall php8.1-opcache on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove php8.1-opcache $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.1-opcache package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php8.1-opcache
Source: php8.1
Priority: optional
Section: php
Installed-Size: 988
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.9-1+ubuntu18.04.1+deb.sury.org+1
Provides: php-opcache
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.9-1+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.27), libgcc1 (>= 1:3.3)
Filename: pool/main/p/php8.1/php8.1-opcache_8.1.9-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 330692
MD5sum: ccdfd695b2f21b2cca5ddc1d242cfac8
SHA1: d0746992cf51524511c9dd7c6f1c3f2f6c7f1ad3
SHA256: e3f4a11bc38be5fb7587b1857fe717d86e6d73c2e69307c720166920fb57dbb8
Description: Zend OpCache module for PHP
Description-md5: 2a678caa9876c07bd79145e7e6745aa0