How to Install and Uninstall logrotate Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 22,2024

1. Install "logrotate" package

Please follow the guidelines below to install logrotate on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install logrotate

2. Uninstall "logrotate" package

Learn how to uninstall logrotate on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the logrotate package on Ubuntu 24.04 LTS (Noble Numbat)

Package: logrotate
Architecture: amd64
Version: 3.21.0-2
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: 145
Depends: cron | anacron | cron-daemon | systemd-sysv, libacl1 (>= 2.2.23), libc6 (>= 2.38), libpopt0 (>= 1.14), libselinux1 (>= 3.1~)
Suggests: bsd-mailx | mailx
Filename: pool/main/l/logrotate/logrotate_3.21.0-2_amd64.deb
Size: 59100
MD5sum: b6eaad339b57d1405906585228fc60e0
SHA1: 468ab657bd8655646a7443b7ae64c9ed09866a63
SHA256: 2a02971e0a8d5aacc3980431e4e0ddd4dfa828373522e0856de05c2f0b47b172
SHA512: f6014c2214d6d1288111a7c2ba785e446749a282c8aabe315756727ab82a5de89538bd4f1921a55b3facfd41ed695cfb3cf25f82a4341e7bfb077a7bf9e7d265
Homepage: https://github.com/logrotate/logrotate
Description: Log rotation utility
Description-md5: bb73169bb75b2b8a2fda1453d214416d
Task: minimal