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

Last updated: November 26,2024

1. Install "logrotate.x86_64" package

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

$ sudo dnf update $ sudo dnf install logrotate.x86_64

2. Uninstall "logrotate.x86_64" package

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

$ sudo dnf remove logrotate.x86_64 $ sudo dnf autoremove

3. Information about the logrotate.x86_64 package on Red Hat Enterprise Linux 9 (RHEL 9)

Last metadata expiration check: 1:30:07 ago on Mon Feb 26 07:04:30 2024.
Available Packages
Name : logrotate
Version : 3.18.0
Release : 8.el9
Architecture : x86_64
Size : 79 k
Source : logrotate-3.18.0-8.el9.src.rpm
Repository : ubi-9-baseos-rpms
Summary : Rotates, compresses, removes and mails system log files
URL : https://github.com/logrotate/logrotate
License : GPLv2+
Description : The logrotate utility is designed to simplify the administration of
: log files on a system which generates a lot of log files. Logrotate
: allows for the automatic rotation compression, removal and mailing of
: log files. Logrotate can be set to handle a log file daily, weekly,
: monthly or when the log file gets to a certain size.
:
: Install the logrotate package if you need a utility to deal with the
: log files on your system.