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

Last updated: October 15,2024

1. Install "prunerepo.noarch" package

Here is a brief guide to show you how to install prunerepo.noarch on Red Hat Enterprise Linux 8 (RHEL 8)

$ sudo dnf update $ sudo dnf install prunerepo.noarch

2. Uninstall "prunerepo.noarch" package

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

$ sudo dnf remove prunerepo.noarch $ sudo dnf autoremove

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

Last metadata expiration check: 1:49:00 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : prunerepo
Version : 1.25
Release : 1.el8
Architecture : noarch
Size : 32 k
Source : prunerepo-1.25-1.el8.src.rpm
Repository : epel
Summary : Remove old packages from rpm-md repository
URL : https://pagure.io/prunerepo
License : GPL-2.0-or-later
Description : RPM packages that have newer version available in that same
: repository are deleted from filesystem and the rpm-md metadata are
: recreated afterwards. If there is a source rpm for a deleted rpm
: (and they both share the same directory path), then the source rpm
: will be deleted as well.
:
: Support for specific repository structure (e.g. COPR) is also available
: making it possible to additionally remove build logs and whole build
: directories associated with a package.
:
: After deletion of obsoleted packages, the command
: "createrepo_c --database --update" is called
: to recreate the repository metadata.