How to Install and Uninstall logrotate Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 24,2024

1. Install "logrotate" package

This guide let you learn how to install logrotate on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install logrotate

2. Uninstall "logrotate" package

This tutorial shows how to uninstall logrotate on Ubuntu 21.10 (Impish Indri):

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

3. Information about the logrotate package on Ubuntu 21.10 (Impish Indri)

Package: logrotate
Architecture: amd64
Version: 3.18.0-2ubuntu1
Multi-Arch: foreign
Priority: important
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Christian Göttsche
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 163
Depends: cron | anacron | cron-daemon | systemd-sysv, libacl1 (>= 2.2.23), libc6 (>= 2.33), libpopt0 (>= 1.14), libselinux1 (>= 3.1~)
Suggests: bsd-mailx | mailx
Filename: pool/main/l/logrotate/logrotate_3.18.0-2ubuntu1_amd64.deb
Size: 51140
MD5sum: 904f63d8de4e9484cbbfeea31be03cc4
SHA1: af58292dce4d381413c011bad0ca7cfc77fdbea6
SHA256: b0d6d06239adab7eb0a8fc35c4b12efcbaf98c8186d7605d161a759e0de53521
SHA512: c542c2103ed8855634e3d10b3987e048d39d06c1fc713a6b624c32aa732182d2ad3c8dc632de74ce8500294a2cccfd703a6ca0d736ada9c437b73a98c4ea71df
Homepage: https://github.com/logrotate/logrotate
Description-en: 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: bb73169bb75b2b8a2fda1453d214416d
Task: minimal