How to Install and Uninstall libapache2-mod-php8.2 Package on Linux Mint 21 (Vanessa)

Last updated: November 23,2024

1. Install "libapache2-mod-php8.2" package

This tutorial shows how to install libapache2-mod-php8.2 on Linux Mint 21 (Vanessa)

$ sudo apt update $ sudo apt install libapache2-mod-php8.2

2. Uninstall "libapache2-mod-php8.2" package

Please follow the guidelines below to uninstall libapache2-mod-php8.2 on Linux Mint 21 (Vanessa):

$ sudo apt remove libapache2-mod-php8.2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libapache2-mod-php8.2 package on Linux Mint 21 (Vanessa)

Package: libapache2-mod-php8.2
Source: php8.2
Priority: optional
Section: httpd
Installed-Size: 5422
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.2.17-1+ubuntu22.04.1+deb.sury.org+1
Recommends: apache2
Suggests: php-pear
Provides: libapache2-mod-php, php-json, php8.2-json, phpapi-20220829
Depends: media-types | mime-support, php8.2-cli, php8.2-common (= 8.2.17-1+ubuntu22.04.1+deb.sury.org+1), php8.2-opcache, tzdata, ucf, apache2-api-20120211, apache2-bin, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.18), libssl3 (>= 3.0.0~~alpha1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php8.2/libapache2-mod-php8.2_8.2.17-1+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 1819744
MD5sum: b253fde31d6069c51783492ecb68151e
SHA1: e3cb45ae917b5a63d6a6991daaa3c91933d0f16d
SHA256: e4338888132ac73ab3b7f1f67d68a469faec9338b2f643581fe422e2dc0e3e04
Description: server-side, HTML-embedded scripting language (Apache 2 module)
Description-md5: 6a338a642132f78b17e5228372062a40