How to Install and Uninstall php-solr Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: April 23,2024

1. Install "php-solr" package

This guide covers the steps necessary to install php-solr on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install php-solr

2. Uninstall "php-solr" package

Please follow the guidelines below to uninstall php-solr on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the php-solr package on Ubuntu 22.10 (Kinetic Kudu)

Package: php-solr
Architecture: amd64
Version: 2.5.1+2.4.0-15
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: 15
Pre-Depends: php-common (>= 2:69~)
Depends: php8.1-solr, php-curl, php-xml
Filename: pool/universe/p/php-solr/php-solr_2.5.1+2.4.0-15_amd64.deb
Size: 3914
MD5sum: 6e6034a0d11b3b8a42a7ab4c0e68e93d
SHA1: 81ee4df0e61074b80185a44331b260952f62d052
SHA256: 4f23f9ed2e51b20c93e58da00fd0490a385e355d13eeb8cf1c7349d1d1bbfa79
SHA512: 305e489ee42bfa6e5a9b5cdb69f86c69c09f09be40b75a499be65bec0fc2b3d56e808ecaed62f343502138d574cd3d560f9dfd9d8e069989eb2de8229e847930
Homepage: http://pecl.php.net/package/solr
Description: PHP extension for communicating with Apache Solr server
Description-md5: d404cb885f81e4bef1b57c8bb1c01e9b