How to Install and Uninstall php-hamcrest Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 19,2024

1. Install "php-hamcrest" package

Here is a brief guide to show you how to install php-hamcrest on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install php-hamcrest

2. Uninstall "php-hamcrest" package

This guide covers the steps necessary to uninstall php-hamcrest on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php-hamcrest package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php-hamcrest
Priority: optional
Section: universe/php
Installed-Size: 190
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Version: 1.2.2-1ubuntu1
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
Filename: pool/universe/p/php-hamcrest/php-hamcrest_1.2.2-1ubuntu1_all.deb
Size: 22966
MD5sum: c19e781093c25065719836a9bf97288d
SHA1: 21520fc41d7e929bee543e42bd3e5c6d09dd2d04
SHA256: be3d4a9f9d70edd94ee4c3da4d7d74ca35e27ac4fd756ea104aedd56e3e37429
Description-en: This is the PHP port of Hamcrest Matchers
Hamcrest is a matching library originally written for Java, but subsequently
ported to many other languages. hamcrest-php is the official PHP port of
Hamcrest and essentially follows a literal translation of the original Java
API for Hamcrest, with a few Exceptions, mostly down to PHP language barriers.
Description-md5: 15577c9b94e44fa632b6de8cbe945d0e
Homepage: http://hamcrest.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu