How to Install and Uninstall php-mock-phpunit Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: April 19,2024

1. Install "php-mock-phpunit" package

Please follow the guidelines below to install php-mock-phpunit on Ubuntu 22.10 (Kinetic Kudu)

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

2. Uninstall "php-mock-phpunit" package

In this section, we are going to explain the necessary steps to uninstall php-mock-phpunit on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the php-mock-phpunit package on Ubuntu 22.10 (Kinetic Kudu)

Package: php-mock-phpunit
Architecture: all
Version: 2.6.0-3
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: 55
Depends: php-common, phpunit, php-mock-integration (>= 2.1), php-mock-integration (<< 3~~)
Filename: pool/universe/p/php-mock-phpunit/php-mock-phpunit_2.6.0-3_all.deb
Size: 8056
MD5sum: ab103f0b1669df8c83d8749c8f4793cc
SHA1: 807395efc4ec78dd6e7767686632f335549ef5de
SHA256: 47de16118f096d41e52a89360eb868eb1b49626a742f0a466cbba40471f14e07
SHA512: e78f2eef75b18dcb4bdd756fcbe02982b7a76ee6fd2425dbaad274483107c0d3a4f6087a8d4f603e1df8e9ab11eaed85ef80505b6175f78356f0cb4959214690
Homepage: https://github.com/php-mock/php-mock-phpunit
Description: mock built-in PHP functions with PHPUnit
Description-md5: 42e451d9db3356d820fda7a355a0e896