How to Install and Uninstall php-mock Package on Ubuntu 24.04 LTS (Noble Numbat)
Last updated: November 22,2024
1. Install "php-mock" package
This tutorial shows how to install php-mock on Ubuntu 24.04 LTS (Noble Numbat)
$
sudo apt update
Copied
$
sudo apt install
php-mock
Copied
2. Uninstall "php-mock" package
This tutorial shows how to uninstall php-mock on Ubuntu 24.04 LTS (Noble Numbat):
$
sudo apt remove
php-mock
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php-mock package on Ubuntu 24.04 LTS (Noble Numbat)
Package: php-mock
Architecture: all
Version: 2.3.1-1
Multi-Arch: foreign
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-mock-phpunit
Filename: pool/universe/p/php-mock/php-mock_2.3.1-1_all.deb
Size: 21156
MD5sum: 501936de9cd4d0f9ec263d07e87655ff
SHA1: 2f3f2bd41af97dc55439426681eb722f3c24d8a8
SHA256: 9126482fa7bec1ce960378163631e7a384c738a0af8d83e9ae11988818b1b42b
SHA512: 9978ed5e145964f5fd96e749569779ca03533b1d404b02ed7769ed4e8480bf3bac280a6214cc33c79665ce763bf41b03d4d8432b551f9868f6aae11ca3db08c7
Homepage: https://github.com/php-mock/php-mock
Description: mock built-in PHP functions
Description-md5: 17442f9a3c8183b5b2fcd84f201d013e
Architecture: all
Version: 2.3.1-1
Multi-Arch: foreign
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-mock-phpunit
Filename: pool/universe/p/php-mock/php-mock_2.3.1-1_all.deb
Size: 21156
MD5sum: 501936de9cd4d0f9ec263d07e87655ff
SHA1: 2f3f2bd41af97dc55439426681eb722f3c24d8a8
SHA256: 9126482fa7bec1ce960378163631e7a384c738a0af8d83e9ae11988818b1b42b
SHA512: 9978ed5e145964f5fd96e749569779ca03533b1d404b02ed7769ed4e8480bf3bac280a6214cc33c79665ce763bf41b03d4d8432b551f9868f6aae11ca3db08c7
Homepage: https://github.com/php-mock/php-mock
Description: mock built-in PHP functions
Description-md5: 17442f9a3c8183b5b2fcd84f201d013e