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

Last updated: December 28,2024

1. Install "php7.2-solr" package

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

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

2. Uninstall "php7.2-solr" package

This is a short guide on how to uninstall php7.2-solr on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php7.2-solr
Source: php-solr
Priority: optional
Section: php
Installed-Size: 359
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.2-common, php7.2-xml, php7.2-curl, phpapi-20170718, 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.2-solr_2.6.0++-1+ubuntu20.04.1+deb.sury.org+2_amd64.deb
Size: 86048
MD5sum: ae245a2729f4b17e97e3106f8e6f3059
SHA1: bfaa50f0df9044c630c6733bb0141b676f6e58b2
SHA256: 4e792d79f18eda1dddb4c4af9fe23bd7360fa0986a80e0c3fd93bcb23964add4
Description: PHP extension for communicating with Apache Solr server
Description-md5: d404cb885f81e4bef1b57c8bb1c01e9b