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

Last updated: November 08,2024

1. Install "php7.2-opcache" package

This guide let you learn how to install php7.2-opcache on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.2-opcache" package

Please follow the guidance below to uninstall php7.2-opcache on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php7.2-opcache
Source: php7.2
Priority: optional
Section: php
Installed-Size: 476
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu20.04.1+deb.sury.org+1
Provides: php-opcache
Depends: php-common (>= 1:81~), ucf, php7.2-common (= 7.2.34-43+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.27)
Filename: pool/main/p/php7.2/php7.2-opcache_7.2.34-43+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 165696
MD5sum: 710cc160bfe768f55cc53c70a108c323
SHA1: ea879fabda9df17d9f81c5409478099f664b50b2
SHA256: 0a9e48ea4df3b5487aa8e72938f9d6c2ea99f557da0aa83481ee5f3d966e8f99
Description: Zend OpCache module for PHP
Description-md5: 2a678caa9876c07bd79145e7e6745aa0