How to Install and Uninstall php-hamcrest Package on Debian 12 (Bookworm)

Last updated: May 18,2024

1. Install "php-hamcrest" package

This is a short guide on how to install php-hamcrest on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php-hamcrest

2. Uninstall "php-hamcrest" package

Please follow the steps below to uninstall php-hamcrest on Debian 12 (Bookworm):

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

3. Information about the php-hamcrest package on Debian 12 (Bookworm)

Package: php-hamcrest
Version: 2.0.1-4
Installed-Size: 199
Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Replaces: php-cordoval-hamcrest-php, php-davedevelopment-hamcrest-php, php-kodova-hamcrest-php
Depends: php-common
Breaks: php-cordoval-hamcrest-php, php-davedevelopment-hamcrest-php, php-kodova-hamcrest-php
Description: This is the PHP port of Hamcrest Matchers
Description-md5: 15577c9b94e44fa632b6de8cbe945d0e
Multi-Arch: foreign
Homepage: http://hamcrest.org/
Section: php
Priority: optional
Filename: pool/main/p/php-hamcrest/php-hamcrest_2.0.1-4_all.deb
Size: 28392
MD5sum: 291ce31a16c2e617eeb08830502713fb
SHA256: d118c19d6b0e109a9419f24ffe50ace8b514b54913296a40ec3425072fdf7c86