How to Install and Uninstall php7.3 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 14,2024

1. Install "php7.3" package

Here is a brief guide to show you how to install php7.3 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php7.3

2. Uninstall "php7.3" package

Please follow the guidelines below to uninstall php7.3 on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php7.3 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.3
Priority: optional
Section: php
Installed-Size: 84
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 7.3.33-14+ubuntu20.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php7.3 | php7.3-fpm | php7.3-cgi, php7.3-common
Filename: pool/main/p/php7.3/php7.3_7.3.33-14+ubuntu20.04.1+deb.sury.org+1_all.deb
Size: 50420
MD5sum: 88b1136f235d05ed545703ab27d3d9c9
SHA1: 09a255f55c2102eaf58d0e9af59da8c8ec6c3cbb
SHA256: 57184d77320e1b0d4cd6a38f8f6426c1c42011336f33950987ab311c5974a254
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb