How to Install and Uninstall php8.1-cgi Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 25,2024

1. Install "php8.1-cgi" package

Here is a brief guide to show you how to install php8.1-cgi on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "php8.1-cgi" package

This guide covers the steps necessary to uninstall php8.1-cgi on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php8.1-cgi package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php8.1-cgi
Source: php8.1
Priority: optional
Section: php
Installed-Size: 10381
Maintainer: Debian PHP Maintainers
Architecture: amd64
Version: 8.1.9-1+ubuntu18.04.1+deb.sury.org+1
Suggests: php-pear
Provides: php-cgi, php-json, php8.1-json, phpapi-20210902
Depends: libmagic1, mime-support, php8.1-cli, php8.1-common (= 8.1.9-1+ubuntu18.04.1+deb.sury.org+1), php8.1-opcache, tzdata, ucf, libargon2-1 (>= 0~20171227), libc6 (>= 2.27), 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.9-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
Size: 1592004
MD5sum: f4f8047c43321f61116eb0b138cc5eee
SHA1: 6183db881f2ef27d839d401d75ecabeb7f66a758
SHA256: fb08f4368dd68903d8bfe09386c44a35f744a6ef8704cdaff63f3d7c1bad13d6
Description: server-side, HTML-embedded scripting language (CGI binary)
Description-md5: d56129a9453d4b8230f1c2dfa0da00a7