How to Install and Uninstall php-mock2.noarch Package on Fedora 38

Last updated: January 12,2025

1. Install "php-mock2.noarch" package

Please follow the step by step instructions below to install php-mock2.noarch on Fedora 38

$ sudo dnf update $ sudo dnf install php-mock2.noarch

2. Uninstall "php-mock2.noarch" package

This guide covers the steps necessary to uninstall php-mock2.noarch on Fedora 38:

$ sudo dnf remove php-mock2.noarch $ sudo dnf autoremove

3. Information about the php-mock2.noarch package on Fedora 38

Last metadata expiration check: 3:51:21 ago on Sat Mar 16 22:59:57 2024.
Available Packages
Name : php-mock2
Version : 2.5.0
Release : 1.fc38.remi
Architecture : noarch
Size : 31 k
Source : php-mock2-2.5.0-1.fc38.remi.src.rpm
Repository : remi
Summary : PHP-Mock can mock built-in PHP functions
URL : https://github.com/php-mock/php-mock
License : WTFPL
Description : PHP-Mock can mock built-in PHP functions (e.g. time()).
: PHP-Mock relies on PHP's namespace fallback policy.
: No further extension is needed.
:
: Autoloader: /usr/share/php/phpmock2/autoload.php