How to Install and Uninstall logrotate Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: September 20,2024

1. Install "logrotate" package

This guide covers the steps necessary to install logrotate on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install logrotate

2. Uninstall "logrotate" package

In this section, we are going to explain the necessary steps to uninstall logrotate on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the logrotate package on Ubuntu 22.10 (Kinetic Kudu)

Package: logrotate
Architecture: amd64
Version: 3.20.1-1ubuntu1
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: 165
Depends: cron | anacron | cron-daemon | systemd-sysv, libacl1 (>= 2.2.23), libc6 (>= 2.34), libpopt0 (>= 1.14), libselinux1 (>= 3.1~)
Suggests: bsd-mailx | mailx
Filename: pool/main/l/logrotate/logrotate_3.20.1-1ubuntu1_amd64.deb
Size: 53690
MD5sum: 32f79c17b79c05540cfda5a18201c734
SHA1: 80902934fae99218784afffd87cd454c93ff43c2
SHA256: 55336693e2143e4f7658bff8ee5dd1afc4d6c805c3b15e2f34c875b7b7257747
SHA512: 6b266bce37573b5b0ee142e887723c7e02eb507a462ed85e2172f9e32c1f505dc0e7c6ce3126c974ffef62bd0a8a8e673c42aa5094824a5412d9e921abe7a991
Homepage: https://github.com/logrotate/logrotate
Description: Log rotation utility
Description-md5: bb73169bb75b2b8a2fda1453d214416d
Task: minimal