How to Install and Uninstall logrotate Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 18,2024

1. Install "logrotate" package

In this section, we are going to explain the necessary steps to install logrotate on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install logrotate

2. Uninstall "logrotate" package

This guide let you learn how to uninstall logrotate on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the logrotate package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: logrotate
Architecture: amd64
Version: 3.11.0-0.1ubuntu1
Priority: important
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Paul Martin
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 125
Depends: libacl1 (>= 2.2.51-8), libc6 (>= 2.14), libpopt0 (>= 1.14), libselinux1 (>= 1.32), cron | anacron | cron-daemon, base-passwd (>= 2.0.3.4)
Suggests: bsd-mailx | mailx
Breaks: postgresql-common (<= 126)
Filename: pool/main/l/logrotate/logrotate_3.11.0-0.1ubuntu1_amd64.deb
Size: 41774
MD5sum: e1eba08c30b8d4f66092e82f862c1304
SHA1: 93f7cac11a9307558bd2fde6605cf0e4e3e81bf7
SHA256: 7e3ddaba91f40115337042afd94352b157e9c31cf02fc6da6237f6a6ff7c4405
Homepage: https://github.com/logrotate/logrotate
Description: Log rotation utility
Description-md5: bb73169bb75b2b8a2fda1453d214416d
Task: minimal
Supported: 5y