How to Install and Uninstall prunerepo.noarch Package on Oracle Linux 9

Last updated: November 16,2024

1. Install "prunerepo.noarch" package

Please follow the instructions below to install prunerepo.noarch on Oracle Linux 9

$ sudo dnf update $ sudo dnf install prunerepo.noarch

2. Uninstall "prunerepo.noarch" package

This tutorial shows how to uninstall prunerepo.noarch on Oracle Linux 9:

$ sudo dnf remove prunerepo.noarch $ sudo dnf autoremove

3. Information about the prunerepo.noarch package on Oracle Linux 9

Last metadata expiration check: 0:05:30 ago on Thu Feb 15 07:50:05 2024.
Available Packages
Name : prunerepo
Version : 1.25
Release : 1.el9
Architecture : noarch
Size : 29 k
Source : prunerepo-1.25-1.el9.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.