How to Install and Uninstall php-solr Package on Debian 11 (Bullseye)

Last updated: March 29,2024

1. Install "php-solr" package

Please follow the steps below to install php-solr on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php-solr

2. Uninstall "php-solr" package

Please follow the steps below to uninstall php-solr on Debian 11 (Bullseye):

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

3. Information about the php-solr package on Debian 11 (Bullseye)

Package: php-solr
Version: 2.5.1+2.4.0-10+0~20211118.23+debian11~1.gbpa4e7d2
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 15
Pre-Depends: php-common (>= 2:69~)
Depends: php8.1-solr, php-curl, php-xml
Homepage: http://pecl.php.net/package/solr
Priority: optional
Section: php
Filename: pool/main/p/php-solr/php-solr_2.5.1+2.4.0-10+0~20211118.23+debian11~1.gbpa4e7d2_amd64.deb
Size: 5956
SHA256: df2b68aa7ae9267dfec3385bc161b18e778a3e38282b59faa992533edcda409e
SHA1: 54c62efab73b891be42ee4c808ae94164bc69095
MD5sum: 459ead83d153d34a83e7c6c6e10e7168
Description: PHP extension for communicating with Apache Solr server
Description-md5: d404cb885f81e4bef1b57c8bb1c01e9b

Package: php-solr
Version: 2.5.1+2.4.0-5+deb11u1
Installed-Size: 352
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Provides: php7.4-solr
Depends: php-xml, phpapi-20190902, libc6 (>= 2.14), libcurl4 (>= 7.16.2), libxml2 (>= 2.7.4)
Pre-Depends: php-common (>= 2:69~)
Description: PHP extension for communicating with Apache Solr server
Description-md5: d404cb885f81e4bef1b57c8bb1c01e9b
Homepage: http://pecl.php.net/package/solr
Section: web
Priority: optional
Filename: pool/main/p/php-solr/php-solr_2.5.1+2.4.0-5+deb11u1_amd64.deb
Size: 83848
MD5sum: b594b4f03131a7261b18cee210d8d1b6
SHA256: ad92d58848437fcfedb6fae55cb449f67426a52b1a545cf3cd911a866edfb8f0