Clean up multiple versions of php8

Noah noah-list at enabled.com
Sun Nov 10 16:16:09 UTC 2024


Ahoy List,

What is the best way to clean up the multiple versions of php?  apache2 
is the httpd.


#  apt list --installed | grep php

WARNING: apt does not have a stable CLI interface. Use with caution in 
scripts.

php-common/focal,now 2:95+ubuntu20.04.1+deb.sury.org+1 all 
[installed,automatic]
php-composer-ca-bundle/focal,now 1.2.6-1 all [installed,automatic]
php-composer-semver/focal,now 1.5.1-1 all [installed,automatic]
php-composer-spdx-licenses/focal,now 1.5.3-1 all [installed,automatic]
php-composer-xdebug-handler/focal,now 1.4.0-1 all [installed,automatic]
php-imagick/focal,now 3.7.0-8+ubuntu20.04.1+deb.sury.org+1 all [installed]
php-json-schema/focal,now 5.2.9-1 all [installed,automatic]
php-ldap/focal,now 2:8.3+95+ubuntu20.04.1+deb.sury.org+1 all 
[installed,automatic]
php-mysql/focal,now 2:8.3+95+ubuntu20.04.1+deb.sury.org+1 all [installed]
php-net-ldap2/focal,now 2.2.0-3ubuntu3 all [installed]
php-net-ldap3/focal,now 1.0.4-1 all [installed]
php-pear/focal,now 
1:1.10.13+submodules+notgz+2022032202-2+ubuntu20.04.1+deb.sury.org+1 all 
[installed]
php-psr-container/focal,now 1.0.0-2 all [installed,automatic]
php-psr-log/focal,now 1.1.2-1 all [installed,automatic]
php-symfony-console/focal,now 4.3.8+dfsg-1ubuntu1 all [installed,automatic]
php-symfony-filesystem/focal,now 4.3.8+dfsg-1ubuntu1 all 
[installed,automatic]
php-symfony-finder/focal,now 4.3.8+dfsg-1ubuntu1 all [installed,automatic]
php-symfony-process/focal,now 4.3.8+dfsg-1ubuntu1 all [installed,automatic]
php-symfony-service-contracts/focal,now 1.1.8-1 all [installed,automatic]
php8.1-bcmath/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.1-bz2/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-cli/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-common/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.1-curl/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.1-dev/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-fpm/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-gd/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-gmp/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-igbinary/focal,now 3.2.16-3+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.1-imagick/focal,now 3.7.0-8+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.1-imap/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.1-intl/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.1-ldap/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.1-mbstring/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.1-mysql/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.1-opcache/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.1-readline/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.1-redis/focal,now 6.0.2-4+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.1-soap/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.1-xml/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1-xmlrpc/focal,now 3:1.0.0~rc3-10+ubuntu20.04.1+deb.sury.org+1 
amd64 [installed]
php8.1-zip/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.1/focal,now 8.1.30-1+ubuntu20.04.1+deb.sury.org+1 all [installed]
php8.2-cli/focal,now 8.2.25-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.2-common/focal,now 8.2.25-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.2-ldap/focal,now 8.2.25-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.2-opcache/focal,now 8.2.25-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.2-phpdbg/focal,now 8.2.25-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.2-readline/focal,now 8.2.25-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.3-bz2/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-cli/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-common/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.3-curl/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.3-fpm/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-gd/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-imagick/focal,now 3.7.0-8+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.3-intl/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.3-ldap/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.3-mbstring/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.3-mysql/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.3-opcache/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.3-phpdbg/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.3-pspell/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.3-readline/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.3-sqlite3/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed]
php8.3-xml/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3-zip/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed]
php8.3/focal,now 8.3.13-1+ubuntu20.04.1+deb.sury.org+1 all [installed]
php8.4-cli/focal,now 8.4.0~rc3-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.4-common/focal,now 8.4.0~rc3-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.4-imagick/focal,now 3.7.0-8+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.4-opcache/focal,now 8.4.0~rc3-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.4-phpdbg/focal,now 8.4.0~rc3-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
php8.4-readline/focal,now 8.4.0~rc3-1+ubuntu20.04.1+deb.sury.org+1 amd64 
[installed,automatic]
pkg-php-tools/focal,now 1.38 all [installed,automatic]


Cheers



More information about the ubuntu-users mailing list