How to Install and Uninstall php-cgi Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 15,2024

1. Install "php-cgi" package

This tutorial shows how to install php-cgi on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install php-cgi

2. Uninstall "php-cgi" package

This guide let you learn how to uninstall php-cgi on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the php-cgi package on Ubuntu 23.10 (Mantic Minotaur)

Package: php-cgi
Architecture: all
Version: 2:8.2+93ubuntu1
Priority: optional
Section: php
Source: php-defaults (93ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 20
Depends: php8.2-cgi
Filename: pool/main/p/php-defaults/php-cgi_8.2+93ubuntu1_all.deb
Size: 4570
MD5sum: a5c453aff65bff131c08f5f3975a3e8a
SHA1: b1863ac6590150cd385ed2b81e1c02867f4ae77f
SHA256: 406236fee6b19567e207ddd88198b401ce94266eb805b9eea050a9fb3ec9b143
SHA512: ba6622ec20e55be1bc4b5693afd3ed03983ce3e1ea6dedc8f99137e48be3ae7dbea0ee57980c98c510c0654b201d041fcf142c4ff2487359ee5ddc3e6429e075
Description: server-side, HTML-embedded scripting language (CGI binary) (default)
Description-md5: 98c430c91118a21052cf27fe079507cc