How to Install and Uninstall php-solr Package on Ubuntu 21.10 (Impish Indri)

Last updated: April 23,2024

1. Install "php-solr" package

Please follow the step by step instructions below to install php-solr on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-solr

2. Uninstall "php-solr" package

Please follow the instructions below to uninstall php-solr on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php-solr package on Ubuntu 21.10 (Impish Indri)

Package: php-solr
Priority: optional
Section: php
Installed-Size: 15
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 2.5.1+2.4.0-10+ubuntu21.10.1+deb.sury.org+3
Depends: php8.1-solr, php-curl, php-xml
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-solr/php-solr_2.5.1+2.4.0-10+ubuntu21.10.1+deb.sury.org+3_amd64.deb
Size: 5918
MD5sum: f1033ef07400e73fbe7b3764b2a1a4db
SHA1: aad6e917eea9f6daf0020f509e2cd4afb2443a41
SHA256: 3ba7521cc0a3883984ff86cc4e6335c45ea3791e73d913646729459c4b23aabc
Description-en: 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

Package: php-solr
Architecture: amd64
Version: 2.5.1+2.4.0-5+deb11u1build1
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PECL Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 352
Provides: php8.0-solr
Pre-Depends: php-common (>= 2:69~)
Depends: php-xml, phpapi-20200930, libc6 (>= 2.14), libcurl4 (>= 7.16.2), libxml2 (>= 2.7.4)
Filename: pool/universe/p/php-solr/php-solr_2.5.1+2.4.0-5+deb11u1build1_amd64.deb
Size: 83868
MD5sum: 43918ba873d5ab86ae6166efd2581dd1
SHA1: 994cdffd4094d234ca54b8d614fc9cee12a0da24
SHA256: 094726acb9f64d374b135e8b121ae48f6ae8cbc859116c74fd689037bf748d6e
SHA512: 9ec24e5ff736fc0cb7bb33a8d38133ca83e9006b63d6ee4755df0c695f12328651a46f8098b0d33a1378e1cb70c0e1bbcbf315925be102dcdb3e376cacbb18a6
Homepage: http://pecl.php.net/package/solr
Description-en: 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