How to Install and Uninstall php-mock-phpunit Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: June 22,2024

1. Install "php-mock-phpunit" package

This guide let you learn how to install php-mock-phpunit on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "php-mock-phpunit" package

This is a short guide on how to uninstall php-mock-phpunit on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php-mock-phpunit package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: php-mock-phpunit
Architecture: all
Version: 2.6.0-2
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
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-2_all.deb
Size: 7956
MD5sum: 467d0ffd6c80199023c348522dafe02a
SHA1: 8fb335bea1eee889b02139dccb77beec9ab00c8b
SHA256: bb3db3439bed38fabd3ef1a1bb903e392a437df672f755f5fc8e66880f766a3f
SHA512: 5b55b85654482ec47d902b5d26d90cd2b220ec3dcd59cc9e49ff6b43b53bb1c2eafc58b1dfd78754bc26b82a6d7f910c65907947d818f3e8fec37afec3c2afab
Description: mock built-in PHP functions with PHPUnit
Description-md5: 42e451d9db3356d820fda7a355a0e896