Install logrotate manually

logrotate -v
which logrotate
/usr/sbin/logrotate

Check to see when version was installed. Today is Aug 26. So I did change something recently

date -r /usr/sbin/logrotate
Thu Aug 18 23:55:11 UTC 2016

Manual install

https://www.linuxfromscratch.org/blfs/view/svn/general/logrotate.html

Im downloading this one

https://github.com/logrotate/logrotate/releases/tag/3.17.0

https://github.com/logrotate/logrotate/releases/download/3.17.0/logrotate-3.20.1.tar.xz

yum remove logrotate -y
./configure --prefix=/usr &&
make
yum install autoconf automake libtool make popt-devel xz
autoreconf -fiv
make install
logrotate -v
rm -rf logrotate-install

Leave a Reply

Your email address will not be published.