I’m trying to install php8.0-redis but I’m not succeeding.
Yes I was able to install php-redis but this only shows version 7.2 of php
How can I make it appear in the version I want? (8.0)
If I run:
apt list --installed | grep php
It shows me the following:
hestia-php/bionic,now 8.2.5 amd64 [installed]
php-common/now 2:92+ubuntu18.04.1+deb.sury.org+2 all [installed,local]
php-igbinary/bionic,now 2.0.5-1build1 amd64 [installed]
php-memcache/bionic,now 3.0.9~20160311.4991c2f-5build2 amd64 [installed]
php-memcached/bionic,now 3.0.1+2.2.0-1build2 amd64 [installed]
php-msgpack/bionic,now 2.0.2+0.5.7-2build1 amd64 [installed,automatic]
php-redis/bionic,now 3.1.6-1build1 amd64 [installed]
php5.6-bcmath/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-bz2/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-cli/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-common/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-curl/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-fpm/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-gd/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-imagick/now 3.7.0-2+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-imap/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-intl/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-json/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-ldap/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-mbstring/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-mcrypt/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-mysql/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-opcache/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-pspell/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-readline/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-soap/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-xml/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php5.6-zip/now 5.6.40-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-bcmath/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-bz2/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-cli/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-common/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-curl/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-fpm/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-gd/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-imagick/now 3.7.0-2+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-imap/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-intl/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-json/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-ldap/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-mbstring/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-mcrypt/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-mysql/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-opcache/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-pspell/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-readline/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-soap/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-xml/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.0-zip/now 7.0.33-63+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-bcmath/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-bz2/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-cli/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-common/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-curl/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-fpm/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-gd/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-imagick/now 3.7.0-2+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-imap/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-intl/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-json/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-ldap/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-mbstring/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-mcrypt/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-mysql/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-opcache/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-pspell/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-readline/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-soap/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-xml/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.1-zip/now 7.1.33-50+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.2-bcmath/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-bz2/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-cli/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-common/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-curl/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-fpm/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-gd/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-imagick/now 3.7.0-2+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.2-imap/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-intl/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-json/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-ldap/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-mbstring/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-mysql/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-opcache/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-pspell/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-readline/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-soap/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-xml/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.2-zip/now 7.2.34-36+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-bcmath/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-bz2/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-cli/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-common/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-curl/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-fpm/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-gd/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-imagick/now 3.7.0-2+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.3-imap/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-intl/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-json/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-ldap/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-mbstring/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-mysql/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-opcache/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-pspell/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-readline/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-soap/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-xml/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.3-zip/now 7.3.33-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-bcmath/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-bz2/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-cli/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-common/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-curl/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-fpm/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-gd/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-imagick/now 3.7.0-2+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php7.4-imap/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-intl/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-json/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-ldap/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-mbstring/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-mysql/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-opcache/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-pspell/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-readline/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-soap/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-xml/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php7.4-zip/now 1:7.4.32-2+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 all [installed,local]
php8.0-apcu/now 5.1.21+4.0.11-8+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-bcmath/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-bz2/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-cli/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-common/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-curl/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-fpm/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-gd/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-imagick/now 3.7.0-2+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php8.0-imap/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-intl/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-ldap/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-mbstring/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-mysql/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-opcache/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-pspell/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-readline/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-soap/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-xml/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.0-zip/now 1:8.0.25-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-bcmath/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-bz2/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-cli/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-common/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-curl/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-fpm/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-gd/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-imagick/now 3.7.0-2+ubuntu18.04.1+deb.sury.org+2 amd64 [installed,local]
php8.1-imap/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-intl/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-ldap/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-mbstring/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-mysql/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-opcache/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-pspell/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-readline/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-soap/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-xml/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
php8.1-zip/now 8.1.12-1+ubuntu18.04.1+deb.sury.org+1 amd64 [installed,local]
Regards.
Federico Mazzei.