How to Install and Uninstall logrotate Package on Kali Linux

Last updated: November 22,2024

1. Install "logrotate" package

This is a short guide on how to install logrotate on Kali Linux

$ sudo apt update $ sudo apt install logrotate

2. Uninstall "logrotate" package

This is a short guide on how to uninstall logrotate on Kali Linux:

$ sudo apt remove logrotate $ sudo apt autoclean && sudo apt autoremove

3. Information about the logrotate package on Kali Linux

Package: logrotate
Version: 3.21.0-2
Installed-Size: 147
Maintainer: Christian Göttsche
Architecture: amd64
Depends: cron | anacron | cron-daemon | systemd-sysv, libacl1 (>= 2.2.23), libc6 (>= 2.34), libpopt0 (>= 1.14), libselinux1 (>= 3.1~)
Suggests: bsd-mailx | mailx
Size: 60004
SHA256: 342f3c801468cfd561eef57c369e6e97be8c2738f75509c414f2e571ef533a5c
SHA1: e5cb4019d79549d558eaecbf6ee3a9983b4979f5
MD5sum: d4cf8cf23c4554caac7cf63a3d42544a
Description: Log rotation utility
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. Normally, logrotate
runs as a daily cron job.
Description-md5:
Multi-Arch: foreign
Homepage: https://github.com/logrotate/logrotate
Tag: admin::automation, admin::logging, implemented-in::c,
interface::commandline, role::program, scope::utility,
use::compressing, works-with::logfile
Section: admin
Priority: important
Filename: pool/main/l/logrotate/logrotate_3.21.0-2_amd64.deb