How to Install and Uninstall php-mock Package on Debian 12 (Bookworm)
Last updated: January 23,2025
Notice
You can also install and uninstall the php-mock on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "php-mock" package
This guide let you learn how to install php-mock on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
php-mock
Copied
2. Uninstall "php-mock" package
This is a short guide on how to uninstall php-mock on Debian 12 (Bookworm):
$
sudo apt remove
php-mock
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php-mock package on Debian 12 (Bookworm)
Package: php-mock
Version: 2.3.1-1
Installed-Size: 135
Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Depends: php-common, php-text-template
Suggests: php-mock-phpunit
Description: mock built-in PHP functions
Description-md5: 17442f9a3c8183b5b2fcd84f201d013e
Multi-Arch: foreign
Homepage: https://github.com/php-mock/php-mock
Section: php
Priority: optional
Filename: pool/main/p/php-mock/php-mock_2.3.1-1_all.deb
Size: 20712
MD5sum: 989d68155214c522312fad8258f2ea0d
SHA256: 7bb3f7f3967126765ff86aed8515e58c8b39186e13acc1def570c31182a21651
Version: 2.3.1-1
Installed-Size: 135
Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Depends: php-common, php-text-template
Suggests: php-mock-phpunit
Description: mock built-in PHP functions
Description-md5: 17442f9a3c8183b5b2fcd84f201d013e
Multi-Arch: foreign
Homepage: https://github.com/php-mock/php-mock
Section: php
Priority: optional
Filename: pool/main/p/php-mock/php-mock_2.3.1-1_all.deb
Size: 20712
MD5sum: 989d68155214c522312fad8258f2ea0d
SHA256: 7bb3f7f3967126765ff86aed8515e58c8b39186e13acc1def570c31182a21651