How to Install and Uninstall php8.1-opcache Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: December 26,2024
1. Install "php8.1-opcache" package
This is a short guide on how to install php8.1-opcache on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
php8.1-opcache
Copied
2. Uninstall "php8.1-opcache" package
Please follow the guidance below to uninstall php8.1-opcache on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
php8.1-opcache
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php8.1-opcache package on Ubuntu 20.04 LTS (Focal Fossa)
Package: php8.1-opcache
Source: php8.1
Priority: optional
Section: php
Installed-Size: 1029
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.27-1+ubuntu20.04.1+deb.sury.org+1
Provides: php-opcache
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.27-1+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.27), libgcc-s1 (>= 3.3)
Filename: pool/main/p/php8.1/php8.1-opcache_8.1.27-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 337640
MD5sum: 9a3be6b49c443309c373a69f5b07a556
SHA1: 00355290d57a3d27deed55271d352043dd33cb1d
SHA256: 291d8b16ed247ab10b48797f281db4842db8bfb1665b0e0c315fc7f1999b63e1
Description: Zend OpCache module for PHP
Description-md5: 2a678caa9876c07bd79145e7e6745aa0
Source: php8.1
Priority: optional
Section: php
Installed-Size: 1029
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.27-1+ubuntu20.04.1+deb.sury.org+1
Provides: php-opcache
Depends: php-common (>= 1:81~), ucf, php8.1-common (= 8.1.27-1+ubuntu20.04.1+deb.sury.org+1), libc6 (>= 2.27), libgcc-s1 (>= 3.3)
Filename: pool/main/p/php8.1/php8.1-opcache_8.1.27-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 337640
MD5sum: 9a3be6b49c443309c373a69f5b07a556
SHA1: 00355290d57a3d27deed55271d352043dd33cb1d
SHA256: 291d8b16ed247ab10b48797f281db4842db8bfb1665b0e0c315fc7f1999b63e1
Description: Zend OpCache module for PHP
Description-md5: 2a678caa9876c07bd79145e7e6745aa0