How to Install and Uninstall logrotate Package on Debian 10 (Buster)

Last updated: May 17,2024

1. Install "logrotate" package

Please follow the guidance below to install logrotate on Debian 10 (Buster)

$ sudo apt update $ sudo apt install logrotate

2. Uninstall "logrotate" package

Please follow the instructions below to uninstall logrotate on Debian 10 (Buster):

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

3. Information about the logrotate package on Debian 10 (Buster)

Package: logrotate
Version: 3.14.0-4
Installed-Size: 150
Maintainer: Christian Göttsche
Architecture: amd64
Depends: libacl1 (>= 2.2.51-8), libc6 (>= 2.27), libpopt0 (>= 1.14), libselinux1 (>= 1.32), cron | anacron | cron-daemon | systemd-sysv
Recommends: bsd-mailx | mailx
Breaks: postgresql-common (<= 126)
Description: Log rotation utility
Description-md5: bb73169bb75b2b8a2fda1453d214416d
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.14.0-4_amd64.deb
Size: 63128
MD5sum: abcc92d189f489064a254d4645751934
SHA256: 5c4d2f620fb7cf202b76bb76f0c474083e755f87e682af3f7ec706e76bff3897