How to Install and Uninstall php7.4 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 26,2024
Notice
You can also install and uninstall the php7.4 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 "php7.4" package
Please follow the guidance below to install php7.4 on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php7.4
Copied
2. Uninstall "php7.4" package
Please follow the step by step instructions below to uninstall php7.4 on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
php7.4
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.4 package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: php7.4
Priority: optional
Section: php
Installed-Size: 86
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 1:7.4.33-8+ubuntu22.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php7.4 | php7.4-fpm | php7.4-cgi, php7.4-common
Filename: pool/main/p/php7.4/php7.4_7.4.33-8+ubuntu22.04.1+deb.sury.org+1_all.deb
Size: 51920
MD5sum: 1ed923aed08caaa7ca40ba8866f395ef
SHA1: dc0635cc9ebadbf0a08505c911e0ce64a30bc23a
SHA256: 6cd768e51aeedf7009fd598623916965b52a57c7b9bfcd828e5f4e76fd69004d
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb
Priority: optional
Section: php
Installed-Size: 86
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 1:7.4.33-8+ubuntu22.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php7.4 | php7.4-fpm | php7.4-cgi, php7.4-common
Filename: pool/main/p/php7.4/php7.4_7.4.33-8+ubuntu22.04.1+deb.sury.org+1_all.deb
Size: 51920
MD5sum: 1ed923aed08caaa7ca40ba8866f395ef
SHA1: dc0635cc9ebadbf0a08505c911e0ce64a30bc23a
SHA256: 6cd768e51aeedf7009fd598623916965b52a57c7b9bfcd828e5f4e76fd69004d
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb