How to Install and Uninstall php7.1-solr Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 26,2024

1. Install "php7.1-solr" package

Here is a brief guide to show you how to install php7.1-solr on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.1-solr" package

Please follow the instructions below to uninstall php7.1-solr on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php7.1-solr package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.1-solr
Source: php-solr
Priority: optional
Section: php
Installed-Size: 363
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 2.6.0++-1+ubuntu20.04.1+deb.sury.org+2
Replaces: php-solr (<< 2.6.0++-1+ubuntu20.04.1+deb.sury.org+2~)
Provides: php-solr
Depends: php7.1-common, php7.1-xml, php7.1-curl, phpapi-20160303, libc6 (>= 2.14), libcurl4 (>= 7.16.2), libxml2 (>= 2.7.4)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-solr (<< 2.6.0++-1+ubuntu20.04.1+deb.sury.org+2~)
Filename: pool/main/p/php-solr/php7.1-solr_2.6.0++-1+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 86136
MD5sum: 11d1dea77b8d51abe6d17317fc63b8e8
SHA1: 055722b29034de33a44d403b6e0eaec2c0337c92
SHA256: 1aaed2f00c714cf70c6845150aba0bd058e047a8c96ae5a14e8fc27b63653f68
Description: PHP extension for communicating with Apache Solr server
Description-md5: d404cb885f81e4bef1b57c8bb1c01e9b