How to Install and Uninstall php-hamcrest Package on Kali Linux

Last updated: December 23,2024

1. Install "php-hamcrest" package

In this section, we are going to explain the necessary steps to install php-hamcrest on Kali Linux

$ sudo apt update $ sudo apt install php-hamcrest

2. Uninstall "php-hamcrest" package

This tutorial shows how to uninstall php-hamcrest on Kali Linux:

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

3. Information about the php-hamcrest package on Kali Linux

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
Size: 28392
SHA256: d118c19d6b0e109a9419f24ffe50ace8b514b54913296a40ec3425072fdf7c86
SHA1: 4082cb124fa193b9b615a80ede6aae59fa21c7b4
MD5sum: 291ce31a16c2e617eeb08830502713fb
Description: 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:
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