How to Install and Uninstall php-mockery Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 06,2024

1. Install "php-mockery" package

This is a short guide on how to install php-mockery on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-mockery

2. Uninstall "php-mockery" package

Please follow the steps below to uninstall php-mockery on Ubuntu 21.10 (Impish Indri):

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

3. Information about the php-mockery package on Ubuntu 21.10 (Impish Indri)

Package: php-mockery
Architecture: all
Version: 1.4.2-1ubuntu1
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: 340
Depends: php-common, libpcre3 (>= 7.0), 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.4.2-1ubuntu1_all.deb
Size: 45684
MD5sum: d948c62eca72df2f1b00c37a455a6fca
SHA1: 9b4e6807d534fbdcd3d15d5a5f6157084d1c577a
SHA256: 8f3d76846d8a70a4cb785c638b8131b4e43a5ab139567e1f1cc9f33188bc4a86
SHA512: 70a03b2edb61672fbcd1262502adf2087be19b85119d76d8b0a1bd1999edbf4dfcf19aca4401119d1b7107ffbe81420301c55a9258d6785960ccf4d02ade4b9f
Homepage: https://docs.mockery.io
Description-en: mock object framework for PHPUnit and other testing framework
Mockery is a simple yet flexible PHP mock object framework.
Description-md5: 6606b7b33a9ed757d9fe7b1ab179f1d5