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

Last updated: July 02,2024

1. Install "php7.1-opcache" package

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

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

2. Uninstall "php7.1-opcache" package

Please follow the step by step instructions below to uninstall php7.1-opcache on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php7.1-opcache
Source: php7.1
Priority: optional
Section: php
Installed-Size: 436
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.1.33-56+ubuntu20.04.1+deb.sury.org+1
Provides: php-opcache
Depends: php-common (>= 1:81~), ucf, php7.1-common (= 7.1.33-56+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.27)
Filename: pool/main/p/php7.1/php7.1-opcache_7.1.33-56+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 148228
MD5sum: 08c8489d5e734b52c0656314cd0e70e2
SHA1: 544df006369884b921bf3349c60ee7e74ac16691
SHA256: 54de43e7d933150a7c6476a0d78108ebf4d126d585c12f1e139089241455963f
Description: Zend OpCache module for PHP
Description-md5: 2a678caa9876c07bd79145e7e6745aa0