How to Install and Uninstall php7.2-cgi Package on Linux Mint 21.3 (Virginia)

Last updated: November 07,2024

1. Install "php7.2-cgi" package

This guide covers the steps necessary to install php7.2-cgi on Linux Mint 21.3 (Virginia)

$ sudo apt update $ sudo apt install php7.2-cgi

2. Uninstall "php7.2-cgi" package

Please follow the steps below to uninstall php7.2-cgi on Linux Mint 21.3 (Virginia):

$ sudo apt remove php7.2-cgi $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2-cgi package on Linux Mint 21.3 (Virginia)

Package: php7.2-cgi
Source: php7.2
Priority: optional
Section: php
Installed-Size: 9729
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 7.2.34-43+ubuntu22.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cgi, phpapi-20170718
Depends: libmagic1, libpcre3 (>= 2:8.41), media-types | mime-support, php7.2-cli, php7.2-common (= 7.2.34-43+ubuntu22.04.1+deb.sury.org+1), php7.2-json, php7.2-opcache, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.35), libsodium23 (>= 1.0.14), libssl3 (>= 3.0.0~~alpha1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php7.2/php7.2-cgi_7.2.34-43+ubuntu22.04.1+deb.sury.org+1_amd64.deb
Size: 1541840
MD5sum: f7ccf1968e7ad6c1daa37f315c0d0acd
SHA1: 223ddab648c509e041f0f7621fffe7b476edebff
SHA256: a6f51ee44c227e98eff1cda7602ddc4ea78f967be4bf26d335ea30dd9217c7a0
Description: server-side, HTML-embedded scripting language (CGI binary)
Description-md5: 97125b602be5fad16ac2438eb8339454