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

Last updated: December 29,2024

1. Install "php-mock" package

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

$ sudo apt update $ sudo apt install php-mock

2. Uninstall "php-mock" package

This guide let you learn how to uninstall php-mock on Ubuntu 22.10 (Kinetic Kudu):

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

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

Package: php-mock
Architecture: all
Version: 2.3.0-2
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: 135
Depends: php-common, php-text-template
Suggests: php-php-mock-phpunit
Filename: pool/universe/p/php-mock/php-mock_2.3.0-2_all.deb
Size: 21046
MD5sum: 51e13315006d8dc871d19a8fb08a3957
SHA1: 96a17278b8facb1f19959732d537eb95fe381cdc
SHA256: 3ef93499968a9aa559836e3b72a5adb6de696b88a539abf795b109c148a703f6
SHA512: 482e64d59a7e951c6072e6f2a8c6c50454a386539219acf50e1e1bc2fbffa41dbeae8fce03667bb84c165b526b483101de400b1435403d76856ab428cedd5d39
Homepage: https://github.com/php-mock/php-mock
Description: mock built-in PHP functions
Description-md5: 17442f9a3c8183b5b2fcd84f201d013e