How to Install and Uninstall php-hamcrest Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 20,2024

1. Install "php-hamcrest" package

Please follow the steps below to install php-hamcrest on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php-hamcrest

2. Uninstall "php-hamcrest" package

Please follow the guidelines below to uninstall php-hamcrest on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php-hamcrest package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php-hamcrest
Architecture: all
Version: 2.0.0-3build4
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 191
Depends: php-common
Breaks: php-cordoval-hamcrest-php, php-davedevelopment-hamcrest-php, php-kodova-hamcrest-php
Replaces: php-cordoval-hamcrest-php, php-davedevelopment-hamcrest-php, php-kodova-hamcrest-php
Filename: pool/universe/p/php-hamcrest/php-hamcrest_2.0.0-3build4_all.deb
Size: 23156
MD5sum: ad0bf44e9009223c2a0ae9f0e9519c08
SHA1: 45e4e76ec9e7ed781261cafc487c907aee8647e6
SHA256: 85d81464245280606ef8663a67e13eb48cc643faeabb95a8e25ea07f961af86a
Homepage: http://hamcrest.org/
Description: This is the PHP port of Hamcrest Matchers
Description-md5: 15577c9b94e44fa632b6de8cbe945d0e