How to Install and Uninstall php7.1 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 23,2024

1. Install "php7.1" package

Here is a brief guide to show you how to install php7.1 on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install php7.1

2. Uninstall "php7.1" package

In this section, we are going to explain the necessary steps to uninstall php7.1 on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php7.1 package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: php7.1
Priority: optional
Section: php
Installed-Size: 93
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 7.1.33-56+ubuntu22.04.1+deb.sury.org+1
Provides: php
Depends: libapache2-mod-php7.1 | php7.1-fpm | php7.1-cgi, php7.1-common
Filename: pool/main/p/php7.1/php7.1_7.1.33-56+ubuntu22.04.1+deb.sury.org+1_all.deb
Size: 68420
MD5sum: 2d16215cca24d4d5aef78a5ff04ca4c8
SHA1: 319bcb39811d3f438b2ca792fa21b11ae5a2483c
SHA256: 332c43aee590a4676587c61c5d8e72e1c3c22edd45db2a00ade14efcfde764ae
Description: server-side, HTML-embedded scripting language (metapackage)
Description-md5: 86488d7a405bdcbac9ece7c307f30abb