How to Install and Uninstall php7.3 Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: June 15,2024

1. Install "php7.3" package

Learn how to install php7.3 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install php7.3

2. Uninstall "php7.3" package

This tutorial shows how to uninstall php7.3 on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php7.3 package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php7.3
Priority: optional
Section: php
Installed-Size: 82
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 7.3.28-1+ubuntu16.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.28-1+ubuntu16.04.1+deb.sury.org+1_all.deb
Size: 47922
MD5sum: f1da7c16be6c0ee909da2473fe86ace1
SHA1: 246ad3df83cd1400bf929aa178290f716ef5f3cb
SHA256: 717e36afa655ecef413fd16fab4b5af5673c011e906a4d2ab066de94ef328d28
Description-en: server-side, HTML-embedded scripting language (metapackage)
This package is a metapackage that, when installed, guarantees that you
have at least one of the four server-side versions of the PHP interpreter
installed. Removing this package won't remove PHP from your system, however
it may remove other packages that depend on this one.
.
PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
open source general-purpose scripting language that is especially suited
for web development and can be embedded into HTML.
Description-md5: 86488d7a405bdcbac9ece7c307f30abb