How to Install and Uninstall php-cgi Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: November 22,2024

1. Install "php-cgi" package

Please follow the instructions below to install php-cgi on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install php-cgi

2. Uninstall "php-cgi" package

Please follow the instructions below to uninstall php-cgi on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the php-cgi package on Ubuntu 22.10 (Kinetic Kudu)

Package: php-cgi
Architecture: all
Version: 2:8.1+92ubuntu1
Priority: optional
Section: php
Source: php-defaults (92ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 24
Depends: php8.1-cgi
Filename: pool/main/p/php-defaults/php-cgi_8.1+92ubuntu1_all.deb
Size: 3280
MD5sum: 62f6b0a7960482840979395bf4f11c01
SHA1: dd263f9ece67d9f2a0fb73022ba3b2cd18cc0d33
SHA256: 61f2ec5a69c57e87055bc3179e440a8aacea9827eb503f8d9dfc5d9cbde53465
SHA512: 7b302cff86420bb43c49d16f74650c983db2e007da14401e6a294701dccc2fa31e1ff8ecaea0c418b2f0690409a2978dba6557acc1ddb122e7b206990a417030
Description: server-side, HTML-embedded scripting language (CGI binary) (default)
Description-md5: 121efaf3977d745652e2f21a65ca6271