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

Last updated: January 17,2025

1. Install "php-mock2.noarch" package

Please follow the steps below to install php-mock2.noarch on Fedora 35

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

2. Uninstall "php-mock2.noarch" package

This tutorial shows how to uninstall php-mock2.noarch on Fedora 35:

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

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

Last metadata expiration check: 2:59:31 ago on Wed Sep 7 08:25:01 2022.
Available Packages
Name : php-mock2
Version : 2.3.1
Release : 1.fc35.remi
Architecture : noarch
Size : 31 k
Source : php-mock2-2.3.1-1.fc35.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