How to Install and Uninstall phpunit-mock-object Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: July 02,2024

1. Install "phpunit-mock-object" package

This guide let you learn how to install phpunit-mock-object on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install phpunit-mock-object

2. Uninstall "phpunit-mock-object" package

Here is a brief guide to show you how to uninstall phpunit-mock-object on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove phpunit-mock-object $ sudo apt autoclean && sudo apt autoremove

3. Information about the phpunit-mock-object package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: phpunit-mock-object
Architecture: all
Version: 5.0.6-1ubuntu2
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: 181
Depends: php-common, php-text-template (>= 1.2.1), php-text-template (<< 2~~), php-doctrine-instantiator (>= 1.0.5), php-doctrine-instantiator (<< 2~~), phpunit-exporter (>= 3.1), phpunit-exporter (<< 4~~)
Suggests: php-soap
Breaks: phpunit (<< 6.0~~)
Filename: pool/universe/p/phpunit-mock-object/phpunit-mock-object_5.0.6-1ubuntu2_all.deb
Size: 22920
MD5sum: 54846d7150948b970b29dd0e8262e032
SHA1: 6e75bffeb23614e6bcc954f18dd371602c0ad8ad
SHA256: 2e661f35b46566d415b24fcd80a55282c91035715b3aada6d9500940278acaca
Homepage: https://github.com/sebastianbergmann/phpunit-mock-objects
Description: Mock Object library for PHPUnit
Description-md5: 436241e3a16fa21840164ab38fa4dedf

5. The same packages on other Linux Distributions