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

Last updated: September 28,2024

1. Install "php7.4-opcache" package

This tutorial shows how to install php7.4-opcache on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php7.4-opcache" package

In this section, we are going to explain the necessary steps to uninstall php7.4-opcache on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: php7.4-opcache
Source: php7.4
Priority: optional
Section: php
Installed-Size: 560
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1
Provides: php-opcache
Depends: php-common (>= 1:81~), ucf, php7.4-common (= 1:7.4.30-5+ubuntu18.04.1+deb.sury.org+1), libc6 (>= 2.27)
Filename: pool/main/p/php7.4/php7.4-opcache_7.4.30-5+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 195668
MD5sum: db397280e68043c1b898593258d9b94f
SHA1: 3b5a039d12fd0d21df28c807c0f3970b1e914fb3
SHA256: 435325068ac14ce05917b49ebb2ed4d01422b323c4eea2cbbe1224f072253b0d
Description: Zend OpCache module for PHP
Description-md5: 2a678caa9876c07bd79145e7e6745aa0