How to Install and Uninstall php-mockery Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 29,2024

1. Install "php-mockery" package

This guide covers the steps necessary to install php-mockery on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install php-mockery

2. Uninstall "php-mockery" package

In this section, we are going to explain the necessary steps to uninstall php-mockery on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php-mockery package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php-mockery
Architecture: all
Version: 1.3.1-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: 349
Depends: php-common, libpcre3 (>= 7.0), php-hamcrest (>= 2.0), php-hamcrest (<< 3~~)
Suggests: php-mockery-doc
Filename: pool/universe/p/php-mockery/php-mockery_1.3.1-1_all.deb
Size: 46128
MD5sum: ebe791010ebb3dc959169fd31eb659ea
SHA1: 05a9be4480729d613e0e66c900325c7936761390
SHA256: 38117dcaf9be54cb66695c1cbf189b1749b145b6197774749e29023dcbc01a8e
Homepage: http://docs.mockery.io
Description: mock object framework for PHPUnit and other testing framework
Description-md5: 6606b7b33a9ed757d9fe7b1ab179f1d5