How to Install and Uninstall php-mockery Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 22,2024

1. Install "php-mockery" package

Please follow the guidance below to install php-mockery on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install php-mockery

2. Uninstall "php-mockery" package

This guide covers the steps necessary to uninstall php-mockery on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the php-mockery package on Ubuntu 24.04 LTS (Noble Numbat)

Package: php-mockery
Architecture: all
Version: 1.6.7-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: 320
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.6.7-1_all.deb
Size: 49360
MD5sum: 31a22674689ba012f77787c5e764b8da
SHA1: 3e1ec0d8dfc9a1983eea0328df0e0d71ecdc89b0
SHA256: fdce3b6432b484b9f006a59f9753eafccae7e4d6d43c7ec81b02f568030c03dc
SHA512: 473ed668b723d0ac019813f3337a2877c5e56ed534edda1640749423ddb90af89bf134e9f07a6212d854f2bf63f0d3e401930ee73183c65a7018e09bd3a1e801
Homepage: https://docs.mockery.io
Description: mock object framework for PHPUnit and other testing framework
Description-md5: 6606b7b33a9ed757d9fe7b1ab179f1d5