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

Last updated: May 02,2024

1. Install "php-mockery" package

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

$ sudo apt update $ sudo apt install php-mockery

2. Uninstall "php-mockery" package

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

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

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

Package: php-mockery
Architecture: all
Version: 1.5.0-1
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: 345
Depends: libpcre3 (>= 7.0), php-common, php-hamcrest (>= 2.0.1), php-hamcrest (<< 3~~)
Suggests: php-mockery-doc
Breaks: phpunit (<< 8.0~~)
Filename: pool/universe/p/php-mockery/php-mockery_1.5.0-1_all.deb
Size: 47408
MD5sum: 037ed20136b4c986b0ca025bbc1a5682
SHA1: da6f68d4b2d6707c73088bc558f711dfbd919a55
SHA256: 499aee420c8da848342d133155a9b59cb8ef6f9aa80ea26c4e45425fb003e8dd
SHA512: 200e02372f3ca2bff9f04b674e17e258a3c75f1b2f28e43df02ddf39a0f961a784cbf45706d043d96f60e486074cad4a0af0234d82f62705c0b4bc04ad356f97
Homepage: https://docs.mockery.io
Description: mock object framework for PHPUnit and other testing framework
Description-md5: 6606b7b33a9ed757d9fe7b1ab179f1d5