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

Last updated: June 30,2024

1. Install "php7.4-opcache" package

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

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

2. Uninstall "php7.4-opcache" package

This tutorial shows how to uninstall php7.4-opcache on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php7.4-opcache
Source: php7.4
Priority: optional
Section: php
Installed-Size: 576
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 1:7.4.33-8+ubuntu20.04.1+deb.sury.org+1
Provides: php-opcache
Depends: php-common (>= 1:81~), ucf, php7.4-common (= 1:7.4.33-8+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.27)
Filename: pool/main/p/php7.4/php7.4-opcache_7.4.33-8+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 198496
MD5sum: 366db9ad6be01e2612b27e1ecbf366b7
SHA1: a33d20662e56058e67b7fa687f39c36d37755a31
SHA256: f4d6a6c16dcf9345225890bea3b1d58cafffc3c284ad1e31fd7bbdd13d8609a6
Description: Zend OpCache module for PHP
Description-md5: 2a678caa9876c07bd79145e7e6745aa0

Package: php7.4-opcache
Architecture: amd64
Version: 7.4.3-4ubuntu2.19
Priority: optional
Section: php
Source: php7.4
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 572
Provides: php-opcache
Depends: php-common (>= 1:73), ucf, php7.4-common (= 7.4.3-4ubuntu2.19), libc6 (>= 2.27)
Filename: pool/main/p/php7.4/php7.4-opcache_7.4.3-4ubuntu2.19_amd64.deb
Size: 197948
MD5sum: 889fbd55e37b787a2e9eaa94058a0c7a
SHA1: 69661fcb352d8708fdaace68bc0e539bd1732e68
SHA256: bce237341a878a3dadf74702ff15656a718dbd0c36bd214824ca94f987320edd
SHA512: 16158e13fa974d3bb019502d5a7cd97c8f203e29d0511092d056b4a456b111e8c06c7be1d7b48545873e1fe8d9346fbb39c9e4df91725489551934f3175d9d0b
Homepage: http://www.php.net/
Description: Zend OpCache module for PHP
Description-md5: 2a678caa9876c07bd79145e7e6745aa0
Task: lamp-server

Package: php7.4-opcache
Architecture: amd64
Version: 7.4.3-4ubuntu1
Priority: optional
Section: php
Source: php7.4
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 572
Provides: php-opcache
Depends: php-common (>= 1:73), ucf, php7.4-common (= 7.4.3-4ubuntu1), libc6 (>= 2.27)
Filename: pool/main/p/php7.4/php7.4-opcache_7.4.3-4ubuntu1_amd64.deb
Size: 198424
MD5sum: f3d0184c14ebcef00882e1108a795de7
SHA1: 43cc7c3ab076ee09dbf2ac1d6a95b796aab6c25a
SHA256: c5f6c177a2f4ac5dd1b64b2089e8e61e17616c211ae55d77a60b3489adb370d1
Homepage: http://www.php.net/
Description: Zend OpCache module for PHP
Description-md5: 2a678caa9876c07bd79145e7e6745aa0
Task: lamp-server