How to Install and Uninstall php-cgi Package on Linux Mint 20.3 (Una)

Last updated: December 24,2024

1. Install "php-cgi" package

Please follow the instructions below to install php-cgi on Linux Mint 20.3 (Una)

$ sudo apt update $ sudo apt install php-cgi

2. Uninstall "php-cgi" package

Please follow the steps below to uninstall php-cgi on Linux Mint 20.3 (Una):

$ sudo apt remove php-cgi $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-cgi package on Linux Mint 20.3 (Una)

Package: php-cgi
Source: php-defaults (92+ubuntu20.04.1+deb.sury.org+2)
Priority: optional
Section: php
Installed-Size: 24
Maintainer: Debian PHP Maintainers
Architecture: all
Version: 2:8.1+92+ubuntu20.04.1+deb.sury.org+2
Depends: php8.1-cgi
Filename: pool/main/p/php-defaults/php-cgi_8.1+92+ubuntu20.04.1+deb.sury.org+2_all.deb
Size: 7772
MD5sum: c55b1b25d02fbccd7a833c4f90f8d91a
SHA1: 9b655be1297f721884a547d7ddb026c16a155b66
SHA256: 0a458f49a6d0848eaa3e5d5a94a01105c0f19ac15e83511d6812f0ca21d883ce
Description: server-side, HTML-embedded scripting language (CGI binary) (default)
Description-md5: 121efaf3977d745652e2f21a65ca6271

Package: php-cgi
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-cgi
Filename: pool/main/p/php-defaults/php-cgi_7.4+75_all.deb
Size: 2876
MD5sum: 94099308552640fb9dceb1c29ec7c154
SHA1: cb237a6312c9c03522a17093c23c68061211a7bc
SHA256: 395bb540b30cd4100e6d36ad9319055ce8d6384a6f5dcd7bfa5b20515428624b
Description: server-side, HTML-embedded scripting language (CGI binary) (default)
Description-md5: bf8b9c574e9458f532f43e1417178ca4