How to Install and Uninstall php5.6 Package on Linux Mint 20.3 (Una)

Last updated: November 26,2024

1. Install "php5.6" package

This tutorial shows how to install php5.6 on Linux Mint 20.3 (Una)

$ sudo apt update $ sudo apt install php5.6

2. Uninstall "php5.6" package

Please follow the instructions below to uninstall php5.6 on Linux Mint 20.3 (Una):

$ sudo apt remove php5.6 $ sudo apt autoclean && sudo apt autoremove

3. Information about the php5.6 package on Linux Mint 20.3 (Una)

Package: php5.6
Priority: optional
Section: php
Installed-Size: 286
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 5.6.40-61+ubuntu20.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php5.6 | php5.6-fpm | php5.6-cgi, php5.6-common
Filename: pool/main/p/php5.6/php5.6_5.6.40-61+ubuntu20.04.1+deb.sury.org+1_all.deb
Size: 268396
MD5sum: 8accda2b637be66446f888826ad4196e
SHA1: a369a9ab24c269a3fbed41b2510ac9e8628773bd
SHA256: 317c07c1085352b0536851b01238bf0919dcb171d20157ab346d00504ce29d61
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb