How to Install and Uninstall php5.6 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 21,2024
Notice
You can also install and uninstall the php5.6 on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "php5.6" package
This guide let you learn how to install php5.6 on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php5.6
Copied
2. Uninstall "php5.6" package
This tutorial shows how to uninstall php5.6 on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
php5.6
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php5.6 package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: php5.6
Priority: optional
Section: php
Installed-Size: 287
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 5.6.40-68+ubuntu22.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-68+ubuntu22.04.1+deb.sury.org+1_all.deb
Size: 268332
MD5sum: 0c7633d4d75566f72c8a51186e9f6f80
SHA1: 6d9954d971ae7dc219bd9a83176e967787f6d209
SHA256: 99cf78a4e8066676a9075a8ab860bb31b456fb3d84653252edf4ac631ded6d10
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb
Priority: optional
Section: php
Installed-Size: 287
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 5.6.40-68+ubuntu22.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-68+ubuntu22.04.1+deb.sury.org+1_all.deb
Size: 268332
MD5sum: 0c7633d4d75566f72c8a51186e9f6f80
SHA1: 6d9954d971ae7dc219bd9a83176e967787f6d209
SHA256: 99cf78a4e8066676a9075a8ab860bb31b456fb3d84653252edf4ac631ded6d10
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb