How to Install and Uninstall logrotate Package on openSUSE Leap

Last updated: December 23,2024

1. Install "logrotate" package

Please follow the guidelines below to install logrotate on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install logrotate

2. Uninstall "logrotate" package

Please follow the guidance below to uninstall logrotate on openSUSE Leap:

$ sudo zypper remove logrotate

3. Information about the logrotate package on openSUSE Leap

Information for package logrotate:
----------------------------------
Repository : Main Repository
Name : logrotate
Version : 3.18.1-150400.3.7.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 155.1 KiB
Installed : No
Status : not installed
Source package : logrotate-3.18.1-150400.3.7.1.src
Upstream URL : https://github.com/logrotate/logrotate
Summary : Cron service for rotating, compressing, mailing and removing system log files
Description :
The logrotate utility does automatic rotation, compression, mailing and removal
of log files. Logrotate can be set to handle a log file daily, weekly, monthly,
or when the log file reaches a certain size. Normally, logrotate runs as a
daily cron job.
It manages plain files only and is not involved in systemd's journal rotation.