How to Install and Uninstall logrotate.x86_64 Package on Rocky Linux 9

Last updated: September 23,2024

1. Install "logrotate.x86_64" package

Please follow the instructions below to install logrotate.x86_64 on Rocky Linux 9

$ sudo dnf update $ sudo dnf install logrotate.x86_64

2. Uninstall "logrotate.x86_64" package

This tutorial shows how to uninstall logrotate.x86_64 on Rocky Linux 9:

$ sudo dnf remove logrotate.x86_64 $ sudo dnf autoremove

3. Information about the logrotate.x86_64 package on Rocky Linux 9

Last metadata expiration check: 0:19:40 ago on Fri Feb 16 06:49:52 2024.
Available Packages
Name : logrotate
Version : 3.18.0
Release : 8.el9
Architecture : x86_64
Size : 74 k
Source : logrotate-3.18.0-8.el9.src.rpm
Repository : baseos
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.