How to Install and Uninstall cronolog Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 18,2024

1. Install "cronolog" package

This tutorial shows how to install cronolog on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install cronolog

2. Uninstall "cronolog" package

This tutorial shows how to uninstall cronolog on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove cronolog $ sudo apt autoclean && sudo apt autoremove

3. Information about the cronolog package on Ubuntu 21.04 (Hirsute Hippo)

Package: cronolog
Architecture: amd64
Version: 1.6.2+rpk-3
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian QA Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 69
Depends: perl:any, libc6 (>= 2.4)
Filename: pool/universe/c/cronolog/cronolog_1.6.2+rpk-3_amd64.deb
Size: 27056
MD5sum: 3f3feef1a02d97eec463005b12ec3a63
SHA1: cf01a500ffd15c405afad448855a661cc6d76221
SHA256: a871fec9bf6400d05c059295addc3738a1664be3838383dfae1e449d4fc2c754
SHA512: 5a95f08c0b6bdeae7d07b9b06459915c69023c408c662960695dfa6e8ec9db10e98979258c299f2849c07b3da8fe06cd1e29703a7f9441d36bc2985ef5927b66
Homepage: http://www.cronolog.org/
Description-en: Logfile rotator for web servers
A simple program that reads log messages from its input and writes
them to a set of output files, the names of which are constructed
using template and the current date and time. The template uses the
same format specifiers as the Unix date command (which are the same
as the standard C strftime library function).
.
It intended to be used in conjunction with a Web server, such as
Apache, to split the access log into daily or monthly logs:
.
TransferLog "|/usr/bin/cronolog /var/log/apache/%Y/access.%Y.%m.%d.log"
.
A cronosplit script is also included, to convert existing
traditionally-rotated logs into this rotation format.
Description-md5: 4d5734e5e38bc768dcbffccd2547922f