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

Last updated: October 10,2024

1. Install "mock.noarch" package

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

$ sudo dnf update $ sudo dnf install mock.noarch

2. Uninstall "mock.noarch" package

Please follow the instructions below to uninstall mock.noarch on Red Hat Enterprise Linux 9 (RHEL 9):

$ sudo dnf remove mock.noarch $ sudo dnf autoremove

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

Last metadata expiration check: 0:48:09 ago on Mon Feb 26 07:04:30 2024.
Available Packages
Name : mock
Version : 5.5
Release : 1.el9
Architecture : noarch
Size : 210 k
Source : mock-5.5-1.el9.src.rpm
Repository : epel
Summary : Builds packages inside chroots
URL : https://github.com/rpm-software-management/mock/
License : GPL-2.0-or-later
Description : Mock takes an SRPM and builds it in a chroot.