How to Install and Uninstall php-mockery Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 17,2024

1. Install "php-mockery" package

This is a short guide on how to install php-mockery on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install php-mockery

2. Uninstall "php-mockery" package

Please follow the guidelines below to uninstall php-mockery on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the php-mockery package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: php-mockery
Architecture: all
Version: 1.0-0ubuntu1
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: 308
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.0-0ubuntu1_all.deb
Size: 41708
MD5sum: 28b6c639d6d215c77d20d296b427999d
SHA1: 148b389ec579309f1fc72c0715b84408dfa1b159
SHA256: ee2f0ed7faa7b550eeb70d950b611c16930b7abf36f5cee4d0faf36d33eddb8c
Homepage: http://docs.mockery.io
Description: mock object framework for PHPUnit and other testing framework
Description-md5: 94c7e07c64e6bdf59ca98fad187a471f