How to Install and Uninstall php Package on Linux Mint 20.3 (Una)
Last updated: December 23,2024
1. Install "php" package
In this section, we are going to explain the necessary steps to install php on Linux Mint 20.3 (Una)
$
sudo apt update
Copied
$
sudo apt install
php
Copied
2. Uninstall "php" package
This tutorial shows how to uninstall php on Linux Mint 20.3 (Una):
$
sudo apt remove
php
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php package on Linux Mint 20.3 (Una)
Package: php
Source: php-defaults (92+ubuntu20.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu20.04.1+deb.sury.org+2
Depends: php8.1
Filename: pool/main/p/php-defaults/php_8.1+92+ubuntu20.04.1+deb.sury.org+2_all.deb
Size: 7264
MD5sum: e38f07f4a4eb8bc1d01eda9da701fd5a
SHA1: fcc181e99d72a8db26ff439668e2ba61ede415a8
SHA256: 95a5de7477fec2ebe2a49daa8c082ca4c6ad72bef8cc6e7e6ea4f8e6d6948c3f
Description: server-side, HTML-embedded scripting language (default)
Description-md5: b9ba50eb1ebff6ec8fbf5a31cb3813c2
Package: php
Architecture: all
Version: 2:7.4+75
Priority: optional
Section: php
Source: php-defaults (75)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Depends: php7.4
Filename: pool/main/p/php-defaults/php_7.4+75_all.deb
Size: 2712
MD5sum: 7ca5d4bcba640de5339d83a20a29761b
SHA1: 7a00635e7c99e1f7b4ee21ac276589f7bc028527
SHA256: 82c52f6820151da5a00e33bc8c0d00f5c33d771dccdd5fc54a9f5e0fdd0e4f57
Description: server-side, HTML-embedded scripting language (default)
Description-md5: 99c58fa41ae5c5908fd17241a53bfdd9
Source: php-defaults (92+ubuntu20.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 14
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu20.04.1+deb.sury.org+2
Depends: php8.1
Filename: pool/main/p/php-defaults/php_8.1+92+ubuntu20.04.1+deb.sury.org+2_all.deb
Size: 7264
MD5sum: e38f07f4a4eb8bc1d01eda9da701fd5a
SHA1: fcc181e99d72a8db26ff439668e2ba61ede415a8
SHA256: 95a5de7477fec2ebe2a49daa8c082ca4c6ad72bef8cc6e7e6ea4f8e6d6948c3f
Description: server-side, HTML-embedded scripting language (default)
Description-md5: b9ba50eb1ebff6ec8fbf5a31cb3813c2
Package: php
Architecture: all
Version: 2:7.4+75
Priority: optional
Section: php
Source: php-defaults (75)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Depends: php7.4
Filename: pool/main/p/php-defaults/php_7.4+75_all.deb
Size: 2712
MD5sum: 7ca5d4bcba640de5339d83a20a29761b
SHA1: 7a00635e7c99e1f7b4ee21ac276589f7bc028527
SHA256: 82c52f6820151da5a00e33bc8c0d00f5c33d771dccdd5fc54a9f5e0fdd0e4f57
Description: server-side, HTML-embedded scripting language (default)
Description-md5: 99c58fa41ae5c5908fd17241a53bfdd9