How to Install and Uninstall php7.0-opcache Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: July 02,2024

1. Install "php7.0-opcache" package

In this section, we are going to explain the necessary steps to install php7.0-opcache on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php7.0-opcache

2. Uninstall "php7.0-opcache" package

In this section, we are going to explain the necessary steps to uninstall php7.0-opcache on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php7.0-opcache $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.0-opcache package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.0-opcache
Source: php7.0
Priority: optional
Section: php
Installed-Size: 232
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.0.33-68+ubuntu20.04.1+deb.sury.org+2
Provides: php-opcache
Depends: php-common (>= 1:81~), ucf, php7.0-common (= 7.0.33-68+ubuntu20.04.1+deb.sury.org+2), libc6 (>= 2.27)
Filename: pool/main/p/php7.0/php7.0-opcache_7.0.33-68+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 79708
MD5sum: 99794cf5cedf76f000372647a1041cdb
SHA1: a4246a4ccca76d770460861d631b1ec0f15f731b
SHA256: c4a52e696b0bd0d69e0390ea8980af4cdf48c0ab8a3e21c8a7c6f23e06f6a63c
Description: Zend OpCache module for PHP
Description-md5: 2a678caa9876c07bd79145e7e6745aa0