How to Install and Uninstall php8.1-cgi Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 25,2024

1. Install "php8.1-cgi" package

This guide let you learn how to install php8.1-cgi on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php8.1-cgi

2. Uninstall "php8.1-cgi" package

Please follow the steps below to uninstall php8.1-cgi on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove php8.1-cgi $ sudo apt autoclean && sudo apt autoremove

3. Information about the php8.1-cgi package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php8.1-cgi
Source: php8.1
Priority: optional
Section: php
Installed-Size: 10685
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.27-1+ubuntu20.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cgi, php-json, php8.1-json, phpapi-20210902
Depends: libmagic1, media-types | mime-support, php8.1-cli, php8.1-common (= 8.1.27-1+ubuntu20.04.1+deb.sury.org+1), php8.1-opcache, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.29), libpcre2-8-0 (>= 10.38), libsodium23 (>= 1.0.18), libssl1.1 (>= 1.1.1), libxml2 (>= 2.8.0), zlib1g (>= 1:1.1.4)
Filename: pool/main/p/php8.1/php8.1-cgi_8.1.27-1+ubuntu20.04.1+deb.sury.org+1_amd64.deb
Size: 1630864
MD5sum: b5cbf80bc577c21436f9daa94181454d
SHA1: 09aefee0a73ab95e67abf227bef02b8345abaf55
SHA256: 5cc435771675de735860ac92db718f08c71bb0184bbe48d5d99fc64dac806cb0
Description: server-side, HTML-embedded scripting language (CGI binary)
Description-md5: d56129a9453d4b8230f1c2dfa0da00a7