How to Install and Uninstall python2-mock.noarch Package on Red Hat Enterprise Linux 8 (RHEL 8)

Last updated: November 25,2024

1. Install "python2-mock.noarch" package

Please follow the steps below to install python2-mock.noarch on Red Hat Enterprise Linux 8 (RHEL 8)

$ sudo dnf update $ sudo dnf install python2-mock.noarch

2. Uninstall "python2-mock.noarch" package

In this section, we are going to explain the necessary steps to uninstall python2-mock.noarch on Red Hat Enterprise Linux 8 (RHEL 8):

$ sudo dnf remove python2-mock.noarch $ sudo dnf autoremove

3. Information about the python2-mock.noarch package on Red Hat Enterprise Linux 8 (RHEL 8)

Last metadata expiration check: 1:55:37 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : python2-mock
Version : 2.0.0
Release : 13.module+el8.9.0+19487+7dc18407
Architecture : noarch
Size : 59 k
Source : python-mock-2.0.0-13.module+el8.9.0+19487+7dc18407.src.rpm
Repository : ubi-8-appstream-rpms
Summary : A Python Mocking and Patching Library for Testing
URL : http://www.voidspace.org.uk/python/mock/
License : BSD
Description : Mock is a Python module that provides a core mock class. It removes the need
: to create a host of stubs throughout your test suite. After performing an
: action, you can make assertions about which methods / attributes were used and
: arguments they were called with. You can also specify return values and set