How to Install and Uninstall php7.4-opcache Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 02,2024

1. Install "php7.4-opcache" package

This guide covers the steps necessary to install php7.4-opcache on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "php7.4-opcache" package

Please follow the instructions below to uninstall php7.4-opcache on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php7.4-opcache package on Ubuntu 22.04 LTS (Jammy Jellyfish)

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