How to Install and Uninstall php7.0-solr Package on Debian 12 (Bookworm)

Last updated: May 09,2024

1. Install "php7.0-solr" package

This tutorial shows how to install php7.0-solr on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php7.0-solr

2. Uninstall "php7.0-solr" package

Please follow the instructions below to uninstall php7.0-solr on Debian 12 (Bookworm):

$ sudo apt remove php7.0-solr $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.0-solr package on Debian 12 (Bookworm)

Package: php7.0-solr
Source: php-solr
Version: 2.6.0++-1+0~20231125.30+debian12~1.gbpde327d
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 350
Pre-Depends: php-common (>= 2:69~)
Depends: php7.0-common, php7.0-xml, php7.0-curl, phpapi-20151012, libc6 (>= 2.14), libcurl4 (>= 7.16.2), libxml2 (>= 2.7.4)
Breaks: php-solr (<< 2.6.0++-1+0~20231125.30+debian12~1.gbpde327d~)
Replaces: php-solr (<< 2.6.0++-1+0~20231125.30+debian12~1.gbpde327d~)
Provides: php-solr
Homepage: http://pecl.php.net/package/solr
Priority: optional
Section: php
Filename: pool/main/p/php-solr/php7.0-solr_2.6.0++-1+0~20231125.30+debian12~1.gbpde327d_amd64.deb
Size: 85128
SHA256: b3b977d30e49c098b186c0e21fd9b7aff089d554f7ef14c7e011ccaf7d44bced
SHA1: 6f4cfa2d7fedf14161c8f4296efd62c54e2d4331
MD5sum: 8d074129ce91de1287eb384031a9f9a5
Description: PHP extension for communicating with Apache Solr server
The Apache Solr PHP extension is an extremely fast, light-weight,
feature-rich library that allows PHP applications to communicate
easily and efficiently with Apache Solr server instances using an
object-oriented API.
.
It effectively simplifies the process of interacting
with Apache Solr using PHP and it already comes with built-in
readiness for the latest features.
.
The extension has features such as built-in, serializable query
string builder objects which effectively simplifies the manipulation
of name-value pair request parameters across repeated requests. The
response from the Solr server is also automatically parsed into
native php objects whose properties can be accessed as array keys or
object properties without any additional configuration on the
client-side.
.
Its advanced HTTP client reuses the same connection across multiple
requests and provides built-in support for connecting to Solr servers
secured behind HTTP Authentication or HTTP proxy servers. It is also
able to connect to SSL-enabled containers.
.
PECL Solr 2+ is only compatible with Apache Solr Server 4.0+.
Description-md5: d404cb885f81e4bef1b57c8bb1c01e9b