How to Install and Uninstall php7.2 Package on Linux Mint 21.3 (Virginia)

Last updated: May 15,2024

1. Install "php7.2" package

In this section, we are going to explain the necessary steps to install php7.2 on Linux Mint 21.3 (Virginia)

$ sudo apt update $ sudo apt install php7.2

2. Uninstall "php7.2" package

This guide let you learn how to uninstall php7.2 on Linux Mint 21.3 (Virginia):

$ sudo apt remove php7.2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2 package on Linux Mint 21.3 (Virginia)

Package: php7.2
Priority: optional
Section: php
Installed-Size: 92
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 7.2.34-43+ubuntu22.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php7.2 | php7.2-fpm | php7.2-cgi, php7.2-common
Filename: pool/main/p/php7.2/php7.2_7.2.34-43+ubuntu22.04.1+deb.sury.org+1_all.deb
Size: 58378
MD5sum: 6b95e2b94631e525b67b1d3a3664d6dd
SHA1: b9a0d89450ffe471962ce6fc61358578ad37fea7
SHA256: e3a05845a21eae9769bbafa8974fabb3337c0c249f93c5140b6fea4f1fe241f0
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb