How to Install and Uninstall prunerepo.noarch Package on CentOS Stream 8

Last updated: October 06,2024

1. Install "prunerepo.noarch" package

In this section, we are going to explain the necessary steps to install prunerepo.noarch on CentOS Stream 8

$ sudo dnf update $ sudo dnf install prunerepo.noarch

2. Uninstall "prunerepo.noarch" package

Please follow the guidance below to uninstall prunerepo.noarch on CentOS Stream 8:

$ sudo dnf remove prunerepo.noarch $ sudo dnf autoremove

3. Information about the prunerepo.noarch package on CentOS Stream 8

Last metadata expiration check: 3:36:29 ago on Sun Feb 25 03:03:59 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.